* 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)
(cherry picked from commit
ebac13844294483f708bb92699ee7da7a1b2db21)
"\\|"
;; 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))
"\\|")))