Delete matching of whitespace in ispell's LaTeX env names

* lisp/textmodes/ispell.el (ispell-begin-tex-skip-regexp): Remove
matching of arbitrary whitespaces in LaTeX environment names when
wrapping them inside \begin{}.  (bug#72262)
This commit is contained in:
Arash Esbati 2024-07-23 22:40:41 +02:00 committed by Eli Zaretskii
parent c70ac0fef1
commit ebac138442

View file

@ -3320,9 +3320,7 @@ Generated from `ispell-tex-skip-alists'."
"\\|"
;; keys wrapped in begin{}
(mapconcat (lambda (lst)
(concat "\\\\begin[ \t\n]*{[ \t\n]*"
(car lst)
"[ \t\n]*}"))
(concat "\\\\begin[ \t\n]*{" (car lst) "}"))
(car (cdr ispell-tex-skip-alists))
"\\|")))