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

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

[elpa] externals/auctex a8dba19 60/95: Fix addition of key=val's


From: Tassilo Horn
Subject: [elpa] externals/auctex a8dba19 60/95: Fix addition of key=val's
Date: Sun, 16 Apr 2017 01:26:55 -0400 (EDT)

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

    Fix addition of key=val's
    
    * style/fvextra.el (LaTeX-fvextra-update-key-val): Fix addition of
    key=val's to `LaTeX-fancyvrb-key-val-options-local'.
---
 style/fvextra.el | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/style/fvextra.el b/style/fvextra.el
index 18315d4..6ca2341 100644
--- a/style/fvextra.el
+++ b/style/fvextra.el
@@ -82,10 +82,9 @@
        (assq-delete-all (car (assoc "numbers" 
LaTeX-fancyvrb-key-val-options-local))
                         LaTeX-fancyvrb-key-val-options-local))
   ;; Add the key with "both" value:
-  (setq LaTeX-fancyvrb-key-val-options-local
-       (add-to-list 'LaTeX-fancyvrb-key-val-options-local
-                    '("numbers" ("none" "left" "right" "both"))))
-
+  (add-to-list 'LaTeX-fancyvrb-key-val-options-local
+              '("numbers" ("none" "left" "right" "both")))
+  ;; Add color values to resp. keys:
   (when (or (member "xcolor" (TeX-style-list))
            (member "color" (TeX-style-list)))
     (let* ((colorcmd (if (member "xcolor" (TeX-style-list))



reply via email to

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