Mercurial > hgrepos > hgweb.cgi > yatex
diff yatexprc.el @ 530:fb4822efb1f5 dev
Workaround for Emacs26 (switch-to-buffer)
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Wed, 30 May 2018 07:03:38 +0900 |
parents | af4601ee3c6a |
children | 6ea85aaae6f2 |
line wrap: on
line diff
--- a/yatexprc.el Wed May 23 08:02:11 2018 +0900 +++ b/yatexprc.el Wed May 30 07:03:38 2018 +0900 @@ -1,7 +1,7 @@ ;;; yatexprc.el --- YaTeX process handler -*- coding: sjis -*- ;;; ;;; (c)1993-2018 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Sat Feb 24 16:40:46 2018 on firestorm +;;; Last modified Wed May 30 07:02:49 2018 on firestorm ;;; $Id$ ;;; Code: @@ -799,7 +799,7 @@ (if (string-match (concat "[{,/]" me "[,}]") s) nil ; Nothing to do when it's already in includeonly. (ding) - (switch-to-buffer (current-buffer));Display this buffer. + (set-window-buffer nil (current-buffer));Display this buffer. (setq me ;;Rewrite my name(me) to contain sub directory name. (concat