branch: elpa commit 97c992d05a869a2c692f737599576bc45eed0c58 Author: Arash Esbati <arash.esb...@gmail.com> Commit: Arash Esbati <arash.esb...@gmail.com>
Catch up with deletion of \commondummies in texinfo.tex * doc/macros.texi: Catch up with deletion of \commondummies in texinfo.tex which is replaced with \definedummies. Check which command is defined and add AUCTeX definitions respectively. --- doc/macros.texi | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/doc/macros.texi b/doc/macros.texi index fdf37a0..4162d05 100644 --- a/doc/macros.texi +++ b/doc/macros.texi @@ -64,10 +64,18 @@ font-latex \def\TeX#1{TeX#1}% \def\LaTeX#1{LaTeX#1}\def\previewlatex#1{preview-latex#1}} \xdef\indexnofonts{\the\toks0} -\toks0\expandafter{\commondummies - \def\TeX#1{TeX#1}% - \def\LaTeX#1{LaTeX#1}\def\previewlatex#1{preview-latex#1}} -\xdef\commondummies{\the\toks0} +\ifx\commondummies\undefined \else + \toks0\expandafter{\commondummies + \def\TeX#1{TeX#1}% + \def\LaTeX#1{LaTeX#1}\def\previewlatex#1{preview-latex#1}} + \xdef\commondummies{\the\toks0} +\fi +\ifx\definedummies\undefined \else + \toks0\expandafter{\definedummies + \def\TeX#1{TeX#1}% + \def\LaTeX#1{LaTeX#1}\def\previewlatex#1{preview-latex#1}} + \xdef\definedummies{\the\toks0} +\fi \ifx\acronym\undefined \gdef\acronym#1{{\smallcaps \lowercase{#1}}} \fi \ifx\env\undefined \global\let\env=\code \fi \ifx\option\undefined \global\let\option=\samp \fi