emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master ebac1384429: Delete matching of whitespace in ispell's LaTeX env


From: Eli Zaretskii
Subject: master ebac1384429: Delete matching of whitespace in ispell's LaTeX env names
Date: Sat, 17 Aug 2024 04:15:28 -0400 (EDT)

branch: master
commit ebac13844294483f708bb92699ee7da7a1b2db21
Author: Arash Esbati <arash@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    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)
---
 lisp/textmodes/ispell.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 667da10d7a3..99f9e10a5a8 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -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))
              "\\|")))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]