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

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

[elpa] externals/auctex d308a1e 14/43: Fix handling of LaTeX font declar


From: Tassilo Horn
Subject: [elpa] externals/auctex d308a1e 14/43: Fix handling of LaTeX font declaration macros
Date: Sat, 11 Apr 2020 15:05:20 -0400 (EDT)

branch: externals/auctex
commit d308a1e486a40662c9e6a0413bc29401764280cc
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>

    Fix handling of LaTeX font declaration macros
    
    * latex.el (LaTeX-common-initialization): Delete unnecessary and
    duplicate entry for picture environment.
    Add `-1' to LaTeX font declaration macros in order to work
    correctly on active regions.
---
 latex.el | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/latex.el b/latex.el
index f57fcfb..0c6b58a 100644
--- a/latex.el
+++ b/latex.el
@@ -6233,7 +6233,7 @@ function would return non-nil and `(match-string 1)' 
would return
    ;; The following have no special support, but are included in
    ;; case the auto files are missing.
 
-   "sloppypar" "picture" "tabbing" "verbatim" "verbatim*"
+   "sloppypar" "tabbing" "verbatim" "verbatim*"
    "flushright" "flushleft" "displaymath" "math" "quote" "quotation"
    "center" "titlepage" "verse" "eqnarray*"
 
@@ -6495,9 +6495,11 @@ function would return non-nil and `(match-string 1)' 
would return
      "textbackslash" "textbar" "textless" "textgreater"
      "textasciicircum" "textasciitilde"
      "textregistered" "texttrademark"
-     "rmfamily" "sffamily" "ttfamily" "mdseries" "bfseries"
-     "itshape" "slshape" "upshape" "scshape"
-     "eminnershape"))
+     "rmfamily" "sffamily" "ttfamily"
+     '("mdseries" -1) '("bfseries" -1)
+     '("itshape"  -1) '("slshape"  -1)
+     '("upshape"  -1) '("scshape"  -1)
+     '("eminnershape" -1)))
 
   (TeX-run-style-hooks "LATEX")
 



reply via email to

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