emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] elpa 97c992d 09/35: Catch up with deletion of \commondummies in t


From: Tassilo Horn
Subject: [elpa] elpa 97c992d 09/35: Catch up with deletion of \commondummies in texinfo.tex
Date: Thu, 1 Sep 2016 15:57:48 +0000 (UTC)

branch: elpa
commit 97c992d05a869a2c692f737599576bc45eed0c58
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]