Fix latex-help.el

This commit is contained in:
Alexander Rosenberg 2024-11-06 08:42:48 -08:00
parent 222fcacfeb
commit 738cd67f00
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -225,7 +225,7 @@ The following are some examples:
(looking-at (rx "\\"
(group (+ (not (any " " "\n" "("
"{" "[" "|"
"}" "]" ")")))))))
"}" "]" ")" "%")))))))
(let ((cmd (match-string-no-properties 1)))
(if (> (match-end 1) orig-point)
(cons cmd 'command)