[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 3f7742f95b 18/30: Process lambda expressions cor
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 3f7742f95b 18/30: Process lambda expressions correctly |
Date: |
Thu, 7 Dec 2023 03:51:08 -0500 (EST) |
branch: externals/auctex
commit 3f7742f95b41ccf159ffe1b2806e4d2638e4a4b8
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
Process lambda expressions correctly
* latex.el (TeX-read-key-val, TeX-read-completing-read)
(TeX-read-completing-read-multiple, LaTeX-completion-parse-arg):
Check explicitly if the argument is a lambda expession and handle
it correctly.
---
latex.el | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/latex.el b/latex.el
index 5e8845554c..a18592d3ce 100644
--- a/latex.el
+++ b/latex.el
@@ -3308,7 +3308,8 @@ which see."
complete)
(cond ((and (listp key-val-alist)
(symbolp (car key-val-alist))
- (fboundp (car key-val-alist)))
+ (fboundp (car key-val-alist))
+ (not (eq (car key-val-alist) 'lambda)))
(funcall (car key-val-alist)))
((functionp key-val-alist)
(funcall key-val-alist))
@@ -3396,7 +3397,8 @@ INHERIT-INPUT-METHOD are passed to `completing-read',
which see."
complete)
(cond ((and (listp collection)
(symbolp (car collection))
- (fboundp (car collection)))
+ (fboundp (car collection))
+ (not (eq (car collection) 'lambda)))
(funcall (car collection)))
((functionp collection)
(funcall collection))
@@ -3460,7 +3462,8 @@ INHERIT-INPUT-METHOD are passed to
complete)
(cond ((and (listp table)
(symbolp (car table))
- (fboundp (car table)))
+ (fboundp (car table))
+ (not (eq (car table) 'lambda)))
(funcall (car table)))
((functionp table)
(funcall table))
@@ -7854,8 +7857,9 @@ ARG is the entry for the current argument in buffer
stored in
(fun1 (lambda (elt)
(cond ((and (listp elt)
(symbolp (car elt))
- (fboundp (car elt)))
- ;; It is a function call:
+ (fboundp (car elt))
+ (not (eq (car elt) 'lambda)))
+ ;; It is a named function and not anonymous:
(funcall (car elt)))
;; It is a function object
((functionp elt)
- [elpa] externals/auctex a82eb1690a 10/30: Restore point in `LaTeX-verbatim-p', (continued)
- [elpa] externals/auctex a82eb1690a 10/30: Restore point in `LaTeX-verbatim-p', Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 26d64689d3 22/30: * style/titleps.el ("titleps"): Replace `TeX-arg-eval'., Tassilo Horn, 2023/12/07
- [elpa] externals/auctex a5599695b0 15/30: Save regexp groups, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex d231ecdfcc 16/30: ; * font-latex.el (font-latex-built-in-keyword-classes): Add "par"., Tassilo Horn, 2023/12/07
- [elpa] externals/auctex a28f1d4ccb 27/30: Add completion support for \DeclareGraphicsExtensions, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 88467618ad 11/30: ; * style/minted.el (LaTeX-fontenc-package-options): Pacify warning., Tassilo Horn, 2023/12/07
- [elpa] externals/auctex c196c69207 09/30: Update style/minted to package version 2.8, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 8ae405b919 14/30: Save regexp groups, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex f22ced023d 24/30: * style/fvextra.el ("fvextra"): Track LaTeX package version 1.6., Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 1792a41446 29/30: Move support for xparse macros into core, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex 3f7742f95b 18/30: Process lambda expressions correctly,
Tassilo Horn <=
- [elpa] externals/auctex 38a883d37c 17/30: Save regexp groups in style/minted.el, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex dfd0380d0f 07/30: Update style/newfloat.el to package version 1.2, Tassilo Horn, 2023/12/07
- [elpa] externals/auctex def388b90a 20/30: * style/pythontex.el ("pythontex"): Replace `TeX-arg-eval'., Tassilo Horn, 2023/12/07
- [elpa] externals/auctex d7da2ed8c2 26/30: ; * style/fvextra.el (LaTeX-fvextra-key-val-options): Add new keys., Tassilo Horn, 2023/12/07
- [elpa] externals/auctex efdc86af7c 23/30: * style/titletoc.el ("titletoc"): Replace `TeX-arg-eval'., Tassilo Horn, 2023/12/07