emacs-diffs
[Top][All Lists]
Advanced

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

master 73cf27a: Make Re: recognition in ispell-message less ambiguous


From: Lars Ingebrigtsen
Subject: master 73cf27a: Make Re: recognition in ispell-message less ambiguous
Date: Mon, 29 Nov 2021 11:08:21 -0500 (EST)

branch: master
commit 73cf27aa45d80fce85ae44874931bdccadb70964
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Make Re: recognition in ispell-message less ambiguous
    
    * lisp/textmodes/ispell.el (ispell-message): Require a "Re" as a
    word, not as a word ending (bug#52104).
---
 lisp/textmodes/ispell.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 4087f7e..754ecb3 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -3977,7 +3977,7 @@ You can bind this to the key C-c i in GNUS or mail by 
adding to
            (if (re-search-forward "^Subject: *" end-of-headers t)
                (progn
                  (goto-char (match-end 0))
-                 (if (and (not (looking-at ".*Re\\>"))
+                 (if (and (not (looking-at ".*\\<Re\\>"))
                           (not (looking-at "\\[")))
                      (progn
                        (setq case-fold-search old-case-fold-search)



reply via email to

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