emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/auctex 46373674e2 22/77: ; Fix completion for counters


From: Tassilo Horn
Subject: [elpa] externals/auctex 46373674e2 22/77: ; Fix completion for counters made in 37e5a450
Date: Fri, 26 Aug 2022 16:06:33 -0400 (EDT)

branch: externals/auctex
commit 46373674e202f55642e55dd1dd33b14615bb8c57
Author: Tassilo Horn <tsdh@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>

    ; Fix completion for counters made in 37e5a450
---
 tex.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tex.el b/tex.el
index 13f72db465..ec3650eba9 100644
--- a/tex.el
+++ b/tex.el
@@ -3761,7 +3761,9 @@ The algorithm is as follows:
                                     (when (fboundp #'LaTeX-length-list)
                                       (LaTeX-length-list))
                                     (when (fboundp #'LaTeX-counter-list)
-                                      (LaTeX-counter-list))))
+                                      (mapcar (lambda (x)
+                                                `(,(concat "the" (car x))))
+                                              (LaTeX-counter-list)))))
                           (if TeX-insert-braces "{}"))
                     (list "" TeX-complete-word)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]