branch: master
commit 46373674e202f55642e55dd1dd33b14615bb8c57
Author: Tassilo Horn <[email protected]>
Commit: Tassilo Horn <[email protected]>
; 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)))