diff options
| author | Richard M. Stallman | 1996-09-02 00:19:02 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-09-02 00:19:02 +0000 |
| commit | ff4599fdb52ea5b4d8f8766abe6be7faf4946c3f (patch) | |
| tree | f4d80003d02308773f561f6e201e92c547fb41b1 /lisp | |
| parent | 5212210c8f8708e4e565745bf19bc480cbcfaaac (diff) | |
| download | emacs-ff4599fdb52ea5b4d8f8766abe6be7faf4946c3f.tar.gz emacs-ff4599fdb52ea5b4d8f8766abe6be7faf4946c3f.zip | |
(rmail-dont-reply-to): Recognize the names to delete
when they appear within <...>.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/mail/mail-utils.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/mail/mail-utils.el b/lisp/mail/mail-utils.el index d0c569b0471..ebf2f617789 100644 --- a/lisp/mail/mail-utils.el +++ b/lisp/mail/mail-utils.el | |||
| @@ -144,9 +144,11 @@ Usenet paths ending in an element that matches are removed also." | |||
| 144 | "\\>")))) | 144 | "\\>")))) |
| 145 | (let ((match (concat "\\(^\\|,\\)[ \t\n]*\\([^,\n]*!\\|\\)\\(" | 145 | (let ((match (concat "\\(^\\|,\\)[ \t\n]*\\([^,\n]*!\\|\\)\\(" |
| 146 | rmail-dont-reply-to-names | 146 | rmail-dont-reply-to-names |
| 147 | "\\|[^\,.<]*<\\(" rmail-dont-reply-to-names "\\)" | ||
| 147 | "\\)")) | 148 | "\\)")) |
| 148 | (case-fold-search t) | 149 | (case-fold-search t) |
| 149 | pos epos) | 150 | pos epos) |
| 151 | (setq foo match) | ||
| 150 | (while (setq pos (string-match match userids)) | 152 | (while (setq pos (string-match match userids)) |
| 151 | (if (> pos 0) (setq pos (match-beginning 2))) | 153 | (if (> pos 0) (setq pos (match-beginning 2))) |
| 152 | (setq epos | 154 | (setq epos |