diff options
| author | Lars Ingebrigtsen | 2021-11-29 17:08:11 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-11-29 17:08:11 +0100 |
| commit | 73cf27aa45d80fce85ae44874931bdccadb70964 (patch) | |
| tree | 29313626b40775868b933b83759e2bd9fba61ad5 | |
| parent | f0eba4ea5e1eddebea5e75da49ecdfcefbf7fb73 (diff) | |
| download | emacs-73cf27aa45d80fce85ae44874931bdccadb70964.tar.gz 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).
| -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 | |||
| 3977 | (if (re-search-forward "^Subject: *" end-of-headers t) | 3977 | (if (re-search-forward "^Subject: *" end-of-headers t) |
| 3978 | (progn | 3978 | (progn |
| 3979 | (goto-char (match-end 0)) | 3979 | (goto-char (match-end 0)) |
| 3980 | (if (and (not (looking-at ".*Re\\>")) | 3980 | (if (and (not (looking-at ".*\\<Re\\>")) |
| 3981 | (not (looking-at "\\["))) | 3981 | (not (looking-at "\\["))) |
| 3982 | (progn | 3982 | (progn |
| 3983 | (setq case-fold-search old-case-fold-search) | 3983 | (setq case-fold-search old-case-fold-search) |