diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-11-29 17:08:11 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-11-29 17:08:11 +0100 |
commit | 73cf27aa45d80fce85ae44874931bdccadb70964 (patch) | |
tree | 29313626b40775868b933b83759e2bd9fba61ad5 /lisp/textmodes/ispell.el | |
parent | f0eba4ea5e1eddebea5e75da49ecdfcefbf7fb73 (diff) | |
download | emacs-73cf27aa45d80fce85ae44874931bdccadb70964.tar.gz emacs-73cf27aa45d80fce85ae44874931bdccadb70964.tar.bz2 emacs-73cf27aa45d80fce85ae44874931bdccadb70964.zip |
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).
Diffstat (limited to 'lisp/textmodes/ispell.el')
-rw-r--r-- | lisp/textmodes/ispell.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 4087f7e5f29..754ecb3a1d7 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) |