yatex
diff yatexhlp.el @ 601:cd375a3d7a29
PNG bb should be taken via extractbb
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Thu, 03 Nov 2022 10:42:49 +0859 |
parents | c0827f80b18e |
children |
line diff
1.1 --- a/yatexhlp.el Sun Sep 17 10:25:38 2017 +0859 1.2 +++ b/yatexhlp.el Thu Nov 03 10:42:49 2022 +0859 1.3 @@ -1,7 +1,7 @@ 1.4 ;;; yatexhlp.el --- YaTeX helper for LaTeX -*- coding: sjis -*- 1.5 ;;; 1.6 -;;; (c)1994,1998,2004,2014,2015 by HIROSE Yuuji.[yuuji@yatex.org] 1.7 -;;; Last modified Sun Sep 17 10:23:19 2017 on firestorm 1.8 +;;; (c)1994,1998,2004,2014,2015,2018 by HIROSE Yuuji.[yuuji@yatex.org] 1.9 +;;; Last modified Sat Jun 2 16:45:45 2018 on firestorm 1.10 ;;; $Id$ 1.11 1.12 ;;; Code: 1.13 @@ -302,9 +302,11 @@ 1.14 (message "No matches found."))) 1.15 1.16 ;;;###autoload 1.17 -(defun YaTeX-help (&optional macro) 1.18 +(defun YaTeX-help (&optional macro ref-only) 1.19 "Show help buffer of LaTeX/TeX commands or macros. 1.20 -Optional argument MACRO, if supplied, is directly selected to keyword." 1.21 +Optional argument MACRO, if supplied, is directly selected to keyword. 1.22 +Non-nil for optional second argument REF-ONLY inhibits call enrich-help 1.23 +for non-interactive use." 1.24 (interactive) 1.25 (let (p beg end command) 1.26 (save-excursion 1.27 @@ -341,4 +343,5 @@ 1.28 (setq YaTeX-help-saved-config (current-window-configuration)) 1.29 (or (YaTeX-refer-help command YaTeX-help-file) 1.30 (YaTeX-refer-help command YaTeX-help-file-private) 1.31 + ref-only 1.32 (YaTeX-enrich-help command))))