branch: externals/auctex commit a83033a22dcd28e015bc6aa66c3d0195402e8955 Author: Ikumi Keita <ik...@ikumi.que.jp> Commit: Ikumi Keita <ik...@ikumi.que.jp>
Fix doc string * tex.el (TeX-expand-list): Delete obsolete comment. State that variable name is allowed as the second element and how that is treated. ; * doc/preview-faq.texi (Requirements): Fix typo. --- doc/preview-faq.texi | 2 +- tex.el | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/preview-faq.texi b/doc/preview-faq.texi index 8c77e28..feb1979 100644 --- a/doc/preview-faq.texi +++ b/doc/preview-faq.texi @@ -84,7 +84,7 @@ Carbon, and @previewlatex{} is working with them, too. With Windows, both native Emacs and Cygwin Emacs should work. However, it is known that @url{https://miktex.org/,MiK@TeX{}} sometimes doesn't work with @previewlatex{}. In that case, use -@url{https://tug.org/texlive/,@TeX{}live} instead. +@url{https://tug.org/texlive/,@TeX{} Live} instead. @node Installation Trouble, Customization, Requirements, Frequently Asked Questions @section Installation Trouble diff --git a/tex.el b/tex.el index 4aa55c0..064703f 100644 --- a/tex.el +++ b/tex.el @@ -661,9 +661,9 @@ Programs should not use these variables directly but the function Each entry is a list with two or more elements. The first element is the string to be expanded. The second element is the name of a function returning the expanded string when called with -the remaining elements as arguments. The special value `file' -will be expanded to the name of the file being processed, with an -optional extension. +the remaining elements as arguments. +The second element can also be a variable name whose value is +such function. Built-in expansions provided in `TeX-expand-list-builtin' can be overwritten by defining expansions strings with the same