[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 49987f08dd 19/48: Provide completion candidates
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 49987f08dd 19/48: Provide completion candidates for `TeX-arg-length' |
Date: |
Fri, 18 Nov 2022 14:27:43 -0500 (EST) |
branch: externals/auctex
commit 49987f08dde1329dac32385b5623cd2cdbeb8873
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
Provide completion candidates for `TeX-arg-length'
* latex.el (LaTeX-completion-function-map-alist-cr): Add entry for
`TeX-arg-length' and the corresponding mapping function.
Adjust docstring.
---
latex.el | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/latex.el b/latex.el
index 20a337c515..79b25f4d51 100644
--- a/latex.el
+++ b/latex.el
@@ -7542,20 +7542,23 @@ or `LaTeX-environment-list' and returns it."
"Alist mapping style funcs to completion-candidates counterparts.
Each element is a cons with the name of the function used in an
AUCTeX style file which queries and inserts something in the
-buffer as car and the name function delievering completion
-candidates as cdr. This list contains only mapping for functions
-which perform key=val completions. See also
+buffer as car and a function delievering completion candidates as
+cdr. This list contains only mapping for functions which perform
+key=val completions. See also
`LaTeX-completion-function-map-alist-cr'.")
(defvar LaTeX-completion-function-map-alist-cr
- '((TeX-arg-counter . LaTeX-counter-list)
- (TeX-arg-pagestyle . LaTeX-pagestyle-list) )
+ `((TeX-arg-counter . LaTeX-counter-list)
+ (TeX-arg-pagestyle . LaTeX-pagestyle-list)
+ (TeX-arg-length . ,(lambda () (mapcar (lambda (x)
+ (concat TeX-esc (car x)))
+ (LaTeX-length-list)))))
"Alist mapping style funcs to completion-candidates counterparts.
Each element is a cons with the name of the function used in an
AUCTeX style file which queries and inserts something in the
-buffer as car and the name function delievering completion
-candidates as cdr. This list contains only mapping for functions
-which perform completing-read. See also
+buffer as car and a function delievering completion candidates as
+cdr. This list contains only mapping for functions which perform
+completing-read. See also
`LaTeX-completion-function-map-alist-keyval'.")
(defun LaTeX-completion-parse-arg (arg)
- [elpa] externals/auctex 7642155b73 03/48: Don't let-bind `inhibit-point-motion-hooks' to t, (continued)
- [elpa] externals/auctex 7642155b73 03/48: Don't let-bind `inhibit-point-motion-hooks' to t, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex a617944b4b 08/48: Fix style/xspace.el, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 5949388ca2 12/48: Simplify argument queries in style/wrapfig.el, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex e83a4b87b3 25/48: Use the correct function to retrieve the key=vals, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 35ec84ba6f 07/48: Add capf for LaTeX marco/environment arguments, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 835e01ddb6 36/48: Extend the argument list of `TeX-arg-string', Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 615e12f650 42/48: Simplify implementation of style/tcolorbox.el, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 82a23a93ae 43/48: Add some variables containing font declarations, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 6cbeff713b 47/48: Simplify implementation of style/fancyhdr.el, Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 0ee39626e4 01/48: Use `TeX-arg-completing-read', Tassilo Horn, 2022/11/18
- [elpa] externals/auctex 49987f08dd 19/48: Provide completion candidates for `TeX-arg-length',
Tassilo Horn <=
- [elpa] externals/auctex 3d8d93e4fd 41/48: ; Make code more resilient, Tassilo Horn, 2022/11/18