yatex

diff yatexprc.el @ 627:f294195d0d3f

Add details add-in, which fills <summary>.
author HIROSE Yuuji <yuuji@gentei.org>
date Tue, 11 Aug 2026 20:43:46 +0900
parents 38a414d755c1
children
line diff
     1.1 --- a/yatexprc.el	Fri Dec 02 08:42:22 2022 +0859
     1.2 +++ b/yatexprc.el	Tue Aug 11 20:43:46 2026 +0900
     1.3 @@ -1,7 +1,7 @@
     1.4 -;;; yatexprc.el --- YaTeX process handler -*- coding: sjis -*-
     1.5 +;;; yatexprc.el --- YaTeX process handler -*- coding: sjis; lexical-binding: nil -*-
     1.6  ;;; 
     1.7 -;;; (c)1993-2022 by HIROSE Yuuji.[yuuji@yatex.org]
     1.8 -;;; Last modified Thu Dec  1 19:13:20 2022 on firestorm
     1.9 +;;; (c)1993-2022,2026 by HIROSE Yuuji.[yuuji@yatex.org]
    1.10 +;;; Last modified Sat Aug  1 13:21:56 2026 on firestorm
    1.11  ;;; $Id$
    1.12  
    1.13  ;;; Code:
    1.14 @@ -1254,6 +1254,7 @@
    1.15  	      (raise-frame edit-frame)
    1.16  	      (select-frame edit-frame)))
    1.17  	)
    1.18 +     ;; Keep these code below for future thinking...
    1.19       (error-win (select-window error-win))
    1.20       ((eq (get-lru-window) typeset-win)
    1.21        (YaTeX-switch-to-buffer error-buffer))
    1.22 @@ -1523,7 +1524,7 @@
    1.23  Use set-buffer instead of switch-to-buffer if the optional argument
    1.24  SETBUF is t(Use it only from Emacs-Lisp program)."
    1.25    (interactive "P")
    1.26 -  (if (and (interactive-p) setbuf) (setq YaTeX-parent-file nil))
    1.27 +  (if (and (YaTeX-interactive-p) setbuf) (setq YaTeX-parent-file nil))
    1.28    (let ((ff (function (lambda (f)
    1.29  			(if setbuf (set-buffer (find-file-noselect f))
    1.30  			  (find-file f)))))
    1.31 @@ -1535,7 +1536,7 @@
    1.32  	(setq main-file ;;(get-file-buffer YaTeX-parent-file)
    1.33  	      YaTeX-parent-file))
    1.34      (if (YaTeX-main-file-p)
    1.35 -	(if (interactive-p) (message "I think this is main LaTeX source.") nil)
    1.36 +	(if (YaTeX-interactive-p) (message "I think this is main LaTeX source.") nil)
    1.37        (cond
    1.38         ((and ;;(interactive-p) 
    1.39  	     main-file