yatex

changeset 511:551fcb1d22a0 dev

Call-builtin command line candidate should not be %-expanded
author HIROSE Yuuji <yuuji@gentei.org>
date Thu, 04 Jan 2018 00:14:21 +0900
parents 7a64b7761d6b
children 46f02e576ee1
files yatexprc.el
diffstat 1 files changed, 4 insertions(+), 6 deletions(-) [+]
line diff
     1.1 --- a/yatexprc.el	Wed Jan 03 23:58:59 2018 +0900
     1.2 +++ b/yatexprc.el	Thu Jan 04 00:14:21 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 Jan  3 23:54:10 2018 on firestorm
     1.8 +;;; Last modified Thu Jan  4 00:09:28 2018 on firestorm
     1.9  ;;; $Id$
    1.10  
    1.11  ;;; Code:
    1.12 @@ -836,10 +836,8 @@
    1.13  		  (save-excursion (YaTeX-visit-main t) buffer-file-name)))
    1.14  	(mainroot (file-name-nondirectory (substring main 0 (rindex main ?.))))
    1.15  	(alist YaTeX-call-builtin-on-file)
    1.16 -	(b-in (YaTeX-replace-format
    1.17 -	       (or (YaTeX-get-builtin builtin-type)
    1.18 -		   (cdr (assoc builtin-type alist)))
    1.19 -	       "k" (YaTeX-kanji-ptex-mnemonic)))
    1.20 +	(b-in (or (YaTeX-get-builtin builtin-type)
    1.21 +		  (cdr (assoc builtin-type alist))))
    1.22  	(command b-in))
    1.23      (if (or update (null b-in))
    1.24  	(progn
    1.25 @@ -861,7 +859,7 @@
    1.26  			 (key-description (this-command-keys)))
    1.27  		(sit-for 2)))))
    1.28      (YaTeX-typeset
    1.29 -     command
    1.30 +     (YaTeX-replace-format command "k" (YaTeX-kanji-ptex-mnemonic))
    1.31       (format " *YaTeX-%s*" (downcase builtin-type))
    1.32       builtin-type builtin-type)))
    1.33