[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 34a94db2ae 29/37: * tex.el (plain-TeX-auto-regex
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 34a94db2ae 29/37: * tex.el (plain-TeX-auto-regexp-list): Save regexp groups. |
Date: |
Wed, 11 Oct 2023 03:41:57 -0400 (EDT) |
branch: externals/auctex
commit 34a94db2aef45840c42547d92ee7f06cbad78f2b
Author: Arash Esbati <arash@gnu.org>
Commit: Arash Esbati <arash@gnu.org>
* tex.el (plain-TeX-auto-regexp-list): Save regexp groups.
---
tex.el | 17 ++++++-----------
1 file changed, 6 insertions(+), 11 deletions(-)
diff --git a/tex.el b/tex.el
index de1170a297..6ab2181654 100644
--- a/tex.el
+++ b/tex.el
@@ -4270,21 +4270,16 @@ alter the numbering of any ordinary, non-shy groups.")
(defvar plain-TeX-auto-regexp-list
(let ((token TeX-token-char))
- `((,(concat "\\\\def\\\\\\(" token "+\\)[^a-zA-Z@]")
+ `((,(concat "\\\\\\(?:def\\|let\\)\\\\\\(" token "+\\)[^a-zA-Z@]")
1 TeX-auto-symbol-check)
- (,(concat "\\\\let\\\\\\(" token "+\\)[^a-zA-Z@]")
- 1 TeX-auto-symbol-check)
- (,(concat "\\\\font\\\\\\(" token "+\\)[^a-zA-Z@]") 1 TeX-auto-symbol)
- (,(concat "\\\\chardef\\\\\\(" token "+\\)[^a-zA-Z@]") 1 TeX-auto-symbol)
- (,(concat "\\\\new\\(?:count\\|dimen\\|muskip\\|skip\\)\\\\\\(" token
- "+\\)[^a-zA-Z@]")
+ (,(concat "\\\\"
+ (regexp-opt '("font" "newfont" "chardef" "mathchardef"
+ "newcount" "newdimen" "newmuskip" "newskip"))
+ "{?\\\\\\(" token "+\\)}?[^a-zA-Z@]")
1 TeX-auto-symbol)
- (,(concat "\\\\newfont{?\\\\\\(" token "+\\)}?") 1 TeX-auto-symbol)
(,(concat "\\\\typein\\[\\\\\\(" token "+\\)\\]") 1 TeX-auto-symbol)
("\\\\input +\\([^#}%\"\\\n\r]+?\\)\\(?:\\.[^#}%/\"\\.\n\r]+\\)?"
- 1 TeX-auto-file)
- (,(concat "\\\\mathchardef\\\\\\(" token "+\\)[^a-zA-Z@]")
- 1 TeX-auto-symbol)))
+ 1 TeX-auto-file)))
"List of regular expression matching common plain TeX macro definitions.")
(defvar TeX-auto-full-regexp-list plain-TeX-auto-regexp-list
- [elpa] externals/auctex d9a6c248d0 35/37: ; Minor improvement of documentation, (continued)
- [elpa] externals/auctex d9a6c248d0 35/37: ; Minor improvement of documentation, Tassilo Horn, 2023/10/11
- [elpa] externals/auctex 91da27754b 13/37: Keep preview images when killing indirect buffer (bug#65462), Tassilo Horn, 2023/10/11
- [elpa] externals/auctex 8c3e73c4bb 07/37: Unbreak in-buffer completion for Emacs prior to v.28, Tassilo Horn, 2023/10/11
- [elpa] externals/auctex aabf144dfb 22/37: Arrange indent of tabular-like environments (bug#65648), Tassilo Horn, 2023/10/11
- [elpa] externals/auctex c290376d5d 15/37: Allow programmatic folding, Tassilo Horn, 2023/10/11
- [elpa] externals/auctex 454f02a588 25/37: Take care of temporal buffers (bug#65912), Tassilo Horn, 2023/10/11
- [elpa] externals/auctex 0df824d5d2 19/37: Remove menu title inconsistency, Tassilo Horn, 2023/10/11
- [elpa] externals/auctex fe3ef154cd 09/37: Support verbatim shorthands defined with fancyvrb package, Tassilo Horn, 2023/10/11
- [elpa] externals/auctex bb5e6c0a27 27/37: Remove let-binding for `max-specpdl-size', Tassilo Horn, 2023/10/11
- [elpa] externals/auctex ad81644cf1 26/37: ; * tex.el (TeX-brace-count-line): Fix last change., Tassilo Horn, 2023/10/11
- [elpa] externals/auctex 34a94db2ae 29/37: * tex.el (plain-TeX-auto-regexp-list): Save regexp groups.,
Tassilo Horn <=