yatex
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 diff
1.1 --- a/yatexprc.el Wed May 30 07:03:38 2018 +0900 1.2 +++ b/yatexprc.el Wed May 30 08:33:07 2018 +0900 1.3 @@ -1,7 +1,7 @@ 1.4 ;;; yatexprc.el --- YaTeX process handler -*- coding: sjis -*- 1.5 ;;; 1.6 ;;; (c)1993-2018 by HIROSE Yuuji.[yuuji@yatex.org] 1.7 -;;; Last modified Wed May 30 07:02:49 2018 on firestorm 1.8 +;;; Last modified Wed May 30 08:32:30 2018 on firestorm 1.9 ;;; $Id$ 1.10 1.11 ;;; Code: 1.12 @@ -822,7 +822,7 @@ 1.13 (t nil)) 1.14 (basic-save-buffer)))) 1.15 (exchange-point-and-mark))) 1.16 - (switch-to-buffer cb)) ;for 19 1.17 + (set-window-buffer nil cb)) ;for 19 and 26 1.18 (YaTeX-typeset cmd YaTeX-typeset-buffer nil nil ppcmd) 1.19 (put 'dvi2-command 'region nil))) 1.20