[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 37e5a450a3 20/77: Complete LaTeX lengths and cou
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 37e5a450a3 20/77: Complete LaTeX lengths and counters |
Date: |
Fri, 26 Aug 2022 16:06:33 -0400 (EDT) |
branch: externals/auctex
commit 37e5a450a34a7faadd4c92a7aae9246fb1894b57
Author: Tassilo Horn <tsdh@gnu.org>
Commit: Tassilo Horn <tsdh@gnu.org>
Complete LaTeX lengths and counters
* tex.el: (VirTeX-common-initialization): Complete LaTeX lengths and
counters.
---
tex.el | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/tex.el b/tex.el
index b881e91c45..13f72db465 100644
--- a/tex.el
+++ b/tex.el
@@ -3752,12 +3752,18 @@ The algorithm is as follows:
;; (make-display-table)))
;; (aset buffer-display-table ?\t (apply 'vector (append "<TAB>" nil)))
- ;; Symbol completion.
- (set (make-local-variable 'TeX-complete-list)
- (list (list "\\\\\\([a-zA-Z]*\\)"
- 1 'TeX-symbol-list-filtered
- (if TeX-insert-braces "{}"))
- (list "" TeX-complete-word)))
+ ;; Symbol & length completion.
+ (setq-local TeX-complete-list
+ (list (list "\\\\\\([a-zA-Z]*\\)"
+ 1
+ (lambda ()
+ (append (TeX-symbol-list-filtered)
+ (when (fboundp #'LaTeX-length-list)
+ (LaTeX-length-list))
+ (when (fboundp #'LaTeX-counter-list)
+ (LaTeX-counter-list))))
+ (if TeX-insert-braces "{}"))
+ (list "" TeX-complete-word)))
(funcall TeX-install-font-lock)
- [elpa] externals/auctex updated (b91f15b3a3 -> 0029ca410f), Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 71a288a2fe 08/77: Add styles for iftex bundle, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 9ede1fa203 03/77: Improve insertion of & in matrix-like environments, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 7846cb9f94 04/77: Mention 'M-RET' alias which runs `LaTeX-insert-item', Tassilo Horn, 2022/08/26
- [elpa] externals/auctex ba6e5ef69c 07/77: ; Fix warnings reported by 'make dynvars-check', Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 619f329595 10/77: * tex-ispell.el (TeX-ispell-skip-cmds-list): Support shortvrb.sty., Tassilo Horn, 2022/08/26
- [elpa] externals/auctex fabe675915 12/77: Adapt regression test for the previous commit, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex ecf8b28cda 14/77: Add new style/multibib.el, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex e9af1e68fb 15/77: Fix preview-latex to work with desktop.el again, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 37e5a450a3 20/77: Complete LaTeX lengths and counters,
Tassilo Horn <=
- [elpa] externals/auctex 3f0d5a7411 23/77: Add support for \linespread macro, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex d47a6e8716 29/77: Support complex \input path (bug#55511), Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 9378b66daa 61/77: Add TODO, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 9a3078e510 68/77: Fix comments and doc strings, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 30f7a1ca68 63/77: Don't use void function texinfo-outline-level, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 3447aa75c3 32/77: ; Further fixes about single quotes in docstrings, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex fade32d568 54/77: Don't break line inside \verb-like macro (bug#56160), Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 545129e1c3 55/77: * style/shortvrb.el: Add missing macros incl. fontification., Tassilo Horn, 2022/08/26
- [elpa] externals/auctex 010a1e24be 01/77: Follow up the previous commit, Tassilo Horn, 2022/08/26
- [elpa] externals/auctex fa547aa71e 02/77: Don't increase indentation after \iff, Tassilo Horn, 2022/08/26