changeset 531:6ea85aaae6f2 dev

Workaround for Emacs26 (switch-to-buffer)
author HIROSE Yuuji <yuuji@gentei.org>
date Wed, 30 May 2018 08:33:07 +0900
parents fb4822efb1f5
children 5eb2b1d824f3
files yatexprc.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/yatexprc.el	Wed May 30 07:03:38 2018 +0900
+++ b/yatexprc.el	Wed May 30 08:33:07 2018 +0900
@@ -1,7 +1,7 @@
 ;;; yatexprc.el --- YaTeX process handler -*- coding: sjis -*-
 ;;; 
 ;;; (c)1993-2018 by HIROSE Yuuji.[yuuji@yatex.org]
-;;; Last modified Wed May 30 07:02:49 2018 on firestorm
+;;; Last modified Wed May 30 08:32:30 2018 on firestorm
 ;;; $Id$
 
 ;;; Code:
@@ -822,7 +822,7 @@
 		   (t nil))
 		  (basic-save-buffer))))
 	  (exchange-point-and-mark)))
-      (switch-to-buffer cb))		;for 19
+      (set-window-buffer nil cb))		;for 19 and 26
     (YaTeX-typeset cmd YaTeX-typeset-buffer nil nil ppcmd)
     (put 'dvi2-command 'region nil)))