[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 ec3877ea7f 74/77: Pacify Emacs 29 compiler warnings, (continued)
- [elpa] externals/auctex ec3877ea7f 74/77: Pacify Emacs 29 compiler warnings, 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 d44f83de8b 37/77: Add three new styles, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 0f59225c0f 70/77: ; * doc/todo.texi (Mid-term Goals): Fix typo., Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 2d28bd1630 67/77: Avoid `makeinfo` warnings, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex edabf207b4 65/77: Insert a space between \caption and \\ in tables, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex edb15b8f26 43/77: Follow up the previous commit, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 728db25bf7 69/77: Update documentation, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 33a01b6928 59/77: Extend test for filling, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 5c5aa78de0 71/77: Fix doc string, 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 010a1e24be 01/77: Follow up the previous commit, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex c39fe6d1d6 13/77: Delete compatibility code, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex ecf8b28cda 14/77: Add new style/multibib.el, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 37e5a450a3 20/77: Complete LaTeX lengths and counters, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 9ca155cdb0 25/77: Improve fontification of kernel macros, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex d47a6e8716 29/77: Support complex \input path (bug#55511), 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 4770d57dba 38/77: Support different number of arguments for \hyperref, 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