# HG changeset patch # User HIROSE Yuuji # Date 1527631418 -32400 # Node ID fb4822efb1f5bf08f17f1341206a56d5a47420f3 # Parent b742adfa30e2962d18a4b618cb86f7a88bc1ef82 Workaround for Emacs26 (switch-to-buffer) diff -r b742adfa30e2 -r fb4822efb1f5 yatexprc.el --- 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