auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] GNU AUCTeX branch, master, updated. ef7e48b499461aa53c409


From: Arash Esbati
Subject: [AUCTeX-diffs] GNU AUCTeX branch, master, updated. ef7e48b499461aa53c4099675daeb3a19da4ea1b
Date: Thu, 27 Apr 2017 08:27:57 -0400 (EDT)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU AUCTeX".

The branch, master has been updated
       via  ef7e48b499461aa53c4099675daeb3a19da4ea1b (commit)
      from  7249c789a6381f962e3fdb1f72f4ad1a0c311074 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ef7e48b499461aa53c4099675daeb3a19da4ea1b
Author: Arash Esbati <address@hidden>
Date:   Thu Apr 27 14:26:45 2017 +0200

    Consider the return value of `assq-delete-all'
    
    * style/breqn.el (LaTeX-breqn-update-color-keys):
    * style/fvextra.el (LaTeX-fvextra-update-key-val):
    * style/mdframed.el (LaTeX-mdframed-update-style-key):
    * style/minted.el (LaTeX-minted-update-key-vals):
    * style/tcolorbox.el (LaTeX-tcolorbox-update-style-key): Use the
    return value of `assq-delete-all' rather than looking at the saved
    value of the temporary variable.

diff --git a/style/breqn.el b/style/breqn.el
index 8006082..03fee3b 100644
--- a/style/breqn.el
+++ b/style/breqn.el
@@ -115,7 +115,7 @@ Keys offered for key=val query depend on ENV.  \"label\" and
           (keys '("color" "background"))
           (tmp (copy-alist LaTeX-breqn-key-val-options-local)))
       (dolist (x keys)
-       (assq-delete-all (car (assoc x tmp)) tmp)
+       (setq tmp (assq-delete-all (car (assoc x tmp)) tmp))
        (push (list x (mapcar #'car (funcall colorcmd))) tmp))
       (setq LaTeX-breqn-key-val-options-local
            (copy-alist tmp)))))
diff --git a/style/fvextra.el b/style/fvextra.el
index 6ca2341..eeb7d37 100644
--- a/style/fvextra.el
+++ b/style/fvextra.el
@@ -97,7 +97,7 @@
                   "spacecolor"))
           (tmp (copy-alist LaTeX-fancyvrb-key-val-options-local)))
       (dolist (x keys)
-       (assq-delete-all (car (assoc x tmp)) tmp)
+       (setq tmp (assq-delete-all (car (assoc x tmp)) tmp))
        (if (string= x "highlightcolor")
            (pushnew (list x (mapcar #'car (funcall colorcmd))) tmp :test 
#'equal)
          (pushnew (list x (append '("none") (mapcar #'car (funcall 
colorcmd)))) tmp :test #'equal)))
diff --git a/style/mdframed.el b/style/mdframed.el
index e6caeb3..6bd0ae1 100644
--- a/style/mdframed.el
+++ b/style/mdframed.el
@@ -241,7 +241,7 @@
                   "subtitlebelowlinecolor"))
           (tmp (copy-alist LaTeX-mdframed-key-val-options-local)))
       (dolist (x keys)
-       (assq-delete-all (car (assoc x tmp)) tmp)
+       (setq tmp (assq-delete-all (car (assoc x tmp)) tmp))
        (pushnew (list x (mapcar #'car (funcall colorcmd))) tmp :test #'equal))
       (setq LaTeX-mdframed-key-val-options-local
            (copy-alist tmp)))))
diff --git a/style/minted.el b/style/minted.el
index 159e853..19e3f41 100644
--- a/style/minted.el
+++ b/style/minted.el
@@ -196,7 +196,7 @@ are loaded."
                        "rulecolor" "spacecolor" "tabcolor"))
           (opts (copy-alist LaTeX-minted-key-val-options-local)))
       (dolist (key colorkeys)
-       (assq-delete-all (car (assoc key opts)) opts)
+       (setq opts (assq-delete-all (car (assoc key opts)) opts))
        (push (list key (mapcar #'car (funcall colorcmd)))
              opts))
       (setq LaTeX-minted-key-val-options-local
diff --git a/style/tcolorbox.el b/style/tcolorbox.el
index 77cab08..6805983 100644
--- a/style/tcolorbox.el
+++ b/style/tcolorbox.el
@@ -475,7 +475,7 @@ e.g. \"tcolorboxlib-raster.el\"."
                 "coltitle"))
         (tmp (copy-alist LaTeX-tcolorbox-keyval-options-local)))
     (dolist (key keys)
-      (assq-delete-all (car (assoc key tmp)) tmp)
+      (setq tmp (assq-delete-all (car (assoc key tmp)) tmp))
       (pushnew
        (list key (mapcar #'car (LaTeX-xcolor-definecolor-list))) tmp :test 
#'equal))
     (setq LaTeX-tcolorbox-keyval-options-local (copy-alist tmp)))

-----------------------------------------------------------------------

Summary of changes:
 style/breqn.el     | 2 +-
 style/fvextra.el   | 2 +-
 style/mdframed.el  | 2 +-
 style/minted.el    | 2 +-
 style/tcolorbox.el | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX



reply via email to

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