[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 34befcc17649fd6615fd4
From: |
Tassilo Horn |
Subject: |
[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 34befcc17649fd6615fd4ef8756fb78705f7fe55 |
Date: |
Tue, 22 Feb 2022 09:36:34 -0500 (EST) |
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 34befcc17649fd6615fd4ef8756fb78705f7fe55 (commit)
from a11592e9cad4abbb526af4c5143edcc2780a04fe (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 34befcc17649fd6615fd4ef8756fb78705f7fe55
Author: Tassilo Horn <tsdh@gnu.org>
Date: Tue Feb 22 15:34:16 2022 +0100
Fix bug#54099
* latex.el (LaTeX--completion-annotation-from-math-menu): Ignore
LaTeX-math-list entries with a function as VALUE (bug#54099).
diff --git a/latex.el b/latex.el
index c332ebf4..06627c4b 100644
--- a/latex.el
+++ b/latex.el
@@ -5849,11 +5849,13 @@ returned."
(catch 'found
(dolist (var (list LaTeX-math-list LaTeX-math-default))
(dolist (e var)
- (when (string= (cadr e) sym)
- (let ((char (nth 3 e)))
- (when char
- (throw 'found
- (concat " " (char-to-string char))))))))))
+ (let ((val (cadr e)))
+ (when (and (stringp val)
+ (string= val sym))
+ (let ((char (nth 3 e)))
+ (when char
+ (throw 'found
+ (concat " " (char-to-string char)))))))))))
(defvar LaTeX-math-mode-menu)
(define-minor-mode LaTeX-math-mode
-----------------------------------------------------------------------
Summary of changes:
latex.el | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
hooks/post-receive
--
GNU AUCTeX
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [AUCTeX-diffs] GNU AUCTeX branch, master, updated. 34befcc17649fd6615fd4ef8756fb78705f7fe55,
Tassilo Horn <=