This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU AUCTeX".
The branch, master has been updated via 4df267fa7eec70c9a2e50119e6a2f21a84edc91f (commit) from c8a176ca7c87baa534768e55d9ccea76fa3cd212 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 4df267fa7eec70c9a2e50119e6a2f21a84edc91f Author: Ikumi Keita <ik...@ikumi.que.jp> Date: Wed Dec 8 22:02:15 2021 +0900 Improve support for starred variant name * tex.el (TeX-current-macro): Return starred variant name if asterisk is present. * latex.el (LaTeX-auto-regexp-list): Allow starred variant name for \newenvironment. diff --git a/latex.el b/latex.el index 0d55f269..c332ebf4 100644 --- a/latex.el +++ b/latex.el @@ -1742,11 +1742,11 @@ This is necessary since index entries may contain commands and stuff.") (1 2) LaTeX-auto-arguments) (,(concat "\\\\\\(?:new\\|provide\\)command\\*?{?\\\\\\(" token "+\\)}?") 1 TeX-auto-symbol) - (,(concat "\\\\newenvironment\\*?{?\\(" token "+\\)}?\\[\\([0-9]+\\)\\]\\[") + (,(concat "\\\\newenvironment\\*?{?\\(" token "+\\)\\*?}?\\[\\([0-9]+\\)\\]\\[") (1 2) LaTeX-auto-env-args-with-opt) - (,(concat "\\\\newenvironment\\*?{?\\(" token "+\\)}?\\[\\([0-9]+\\)\\]") + (,(concat "\\\\newenvironment\\*?{?\\(" token "+\\)\\*?}?\\[\\([0-9]+\\)\\]") (1 2) LaTeX-auto-env-args) - (,(concat "\\\\newenvironment\\*?{?\\(" token "+\\)}?") + (,(concat "\\\\newenvironment\\*?{?\\(" token "+\\)\\*?}?") 1 LaTeX-auto-environment) (,(concat "\\\\newtheorem{\\(" token "+\\)}") 1 LaTeX-auto-environment) ("\\\\input{\\(\\.*[^#}%\\\\\\.\n\r]+\\)\\(\\.[^#}%\\\\\\.\n\r]+\\)?}" diff --git a/tex.el b/tex.el index 79a5f64d..e3f4d118 100644 --- a/tex.el +++ b/tex.el @@ -5691,7 +5691,7 @@ escape characters, such as \"\\\" in LaTeX." (goto-char macro-start) (forward-char (length TeX-esc)) (buffer-substring-no-properties - (point) (progn (skip-chars-forward "@A-Za-z") (point))))))) + (point) (progn (skip-chars-forward "@A-Za-z*") (point))))))) (defvar TeX-search-forward-comment-start-function nil "Function to find the start of a comment. ----------------------------------------------------------------------- Summary of changes: latex.el | 6 +++--- tex.el | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) hooks/post-receive -- GNU AUCTeX _______________________________________________ auctex-diffs mailing list auctex-di...@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-diffs