auctex-diffs
[Top][All Lists]
Advanced

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

master 46373674: ; Fix completion for counters made in 37e5a450


From: Tassilo Horn
Subject: master 46373674: ; Fix completion for counters made in 37e5a450
Date: Mon, 9 May 2022 05:20:45 -0400 (EDT)

branch: master
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 13f72db4..ec3650eb 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]