branch: main
commit f71c43b46690f88cda79b8fb48368c37b33ba31b
Author: Arash Esbati <ar...@gnu.org>
Commit: Arash Esbati <ar...@gnu.org>

    * latex.el (LaTeX-what-macro): Recognize '+' macro modifier.
---
 latex.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/latex.el b/latex.el
index 91aa16b5..6a24c16b 100644
--- a/latex.el
+++ b/latex.el
@@ -7692,7 +7692,7 @@ this point.  If nil, limit to the previous 15 lines."
         ;; (setq env-or-mac-start (point))
         (when (and (memql (following-char) ;; '(?\[ ?\{ ?\( ?<)
                           (LaTeX-completion-macro-delimiters 'open))
-                   (re-search-backward "\\\\[*a-zA-Z]+\\=" nil t))
+                   (re-search-backward "\\\\[*+a-zA-Z]+\\=" nil t))
           (setq cmd (TeX-match-buffer 0))
           (when (looking-at "\\\\begin{\\([^}]+\\)}")
             (setq cmd (TeX-match-buffer 1))

Reply via email to