[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex ef7e48b 12/57: Consider the return value of `ass
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex ef7e48b 12/57: Consider the return value of `assq-delete-all' |
Date: |
Tue, 25 Jul 2017 14:02:28 -0400 (EDT) |
branch: externals/auctex
commit ef7e48b499461aa53c4099675daeb3a19da4ea1b
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>
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.
---
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(-)
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)))
- [elpa] externals/auctex updated (50798f3 -> 32f71f6), Tassilo Horn, 2017/07/25
- [elpa] externals/auctex c87ac67 03/57: Add the select environment and related macros to exam style., Tassilo Horn, 2017/07/25
- [elpa] externals/auctex a28aea0 01/57: Add test for my last commit, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex cf6480c 07/57: Make preview.sty compatible with recent luatex, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 581002f 08/57: Add LaTeX core command \oldstylenums, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex d412083 10/57: * tex-ispell.el (TeX-ispell-skip-cmds-list): Add \addlinespace., Tassilo Horn, 2017/07/25
- [elpa] externals/auctex f5cf886 14/57: Add support for plus sign in macro syntax specification list, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 5ea2221 19/57: * latex/preview.dtx: Adjust modification date for CTAN., Tassilo Horn, 2017/07/25
- [elpa] externals/auctex ef7e48b 12/57: Consider the return value of `assq-delete-all',
Tassilo Horn <=
- [elpa] externals/auctex 272c9d6 15/57: Improve exclusion of reserved characters from command matches, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 4ddee01 38/57: * style/beamer.el ("beamer"): Query for optional argument after \pause., Tassilo Horn, 2017/07/25
- [elpa] externals/auctex d2dfab6 30/57: Fix indentation in ConTeXt mode after indented optional argument, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 0c03e4a 36/57: Catch expl3 warnings, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex a90cab5 02/57: Fix comment environment highlighting, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex f6e7767 06/57: Do not highlight control spaces with "\ ", Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 38b413e 05/57: Adjust macros acc. to change in `LaTeX-paragraph-commands-regexp-make', Tassilo Horn, 2017/07/25
- [elpa] externals/auctex 93123b6 18/57: Query for expl3 package options, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex f039132 16/57: Use `ispell-tex-arg-end' on parsed elements, Tassilo Horn, 2017/07/25
- [elpa] externals/auctex e21d071 24/57: Exclude arguments to math environments from fontification, Tassilo Horn, 2017/07/25