[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex cb0a1e6be1 72/77: Improve function calls to retr
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex cb0a1e6be1 72/77: Improve function calls to retrieve key=vals in style hooks |
Date: |
Fri, 26 Aug 2022 16:06:39 -0400 (EDT) |
branch: externals/auctex
commit cb0a1e6be1a5e257737bf58a5c11caed35b8f202
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
Improve function calls to retrieve key=vals in style hooks
* latex.el (TeX-read-key-val): Improve call of functions as
argument of `TeX-arg-key-val' inside style hooks.
---
latex.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/latex.el b/latex.el
index c77af6d82e..59ba9cbfc6 100644
--- a/latex.el
+++ b/latex.el
@@ -3235,9 +3235,9 @@ returning an alist. Use PROMPT as the prompt string."
((and (listp key-val-alist)
(symbolp (car key-val-alist))
(fboundp (car key-val-alist)))
- (let ((head (car key-val-alist))
- (tail (cdr key-val-alist)))
- (apply head tail)))
+ (if (> (length key-val-alist) 1)
+ (eval key-val-alist t)
+ (funcall (car key-val-alist))))
(t
key-val-alist))))
- [elpa] externals/auctex 4163bb5c42 66/77: Fix `autoconf` warnings, (continued)
- [elpa] externals/auctex 4163bb5c42 66/77: Fix `autoconf` warnings, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex ead30464d8 64/77: * style/listings.el (TeX-add-style-hook): Update fontification., Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 7d7e563862 34/77: * doc/changes.texi: Add NEWS item for the previous commit., Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 6e25d11aa6 44/77: Add comment, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 4a3d7a2dc2 60/77: Suppress indentation of verbatim env's in docTeX-mode, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex ce4bb7c1b6 58/77: ; * style/doc.el: Delete spurious `declare-function'., Tassilo Horn, 2022/08/26
- [elpa] externals/auctex d1d1bd819d 47/77: Control the opening and closing braces during insertion, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 23f4040c9d 57/77: Add new test, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 04b9a6d1f9 56/77: Improve shortvrb.sty support, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 33a01b6928 59/77: Extend test for filling, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex cb0a1e6be1 72/77: Improve function calls to retrieve key=vals in style hooks,
Tassilo Horn <=
- [elpa] externals/auctex e194656ce2 28/77: Let RefTeX recognize labels in user defined environments, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 64a8e189a3 19/77: Remove compatibility code, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 6fe2f21e96 31/77: ; Fix warnings about single quotes in docstrings, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 019bcc9cc3 48/77: ; * style/proc.el: Fix a typo., Tassilo Horn, 2022/08/26
- [elpa] externals/auctex d44f83de8b 37/77: Add three new styles, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex a416201f4a 05/77: Delete usage of @key in index entries, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex dc101dee44 09/77: ; Delete style/multibib.el checked in by accident, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 34fd998400 21/77: ; * bib-cite.el (): Silence byte compiler, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex daaff30b4a 36/77: Follow elisp quoting convention, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 192f201f96 49/77: Add new style/microtype.el, Tassilo Horn, 2022/08/26