diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-06-16 18:47:08 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-06-16 18:47:08 +0000 |
commit | 2c9d345f8bb46064f306c15d96dc52173cf1d4bc (patch) | |
tree | 4f31408aea322e98b16a523958b939792b2f6b0f /lisp/mail/mail-utils.el | |
parent | d614dd91b7db40d4ecce633c9f9185bdab4e2f94 (diff) | |
download | emacs-2c9d345f8bb46064f306c15d96dc52173cf1d4bc.tar.gz |
(mail-strip-quoted-names): `"' is not special inside an RFC 822 comment.
Diffstat (limited to 'lisp/mail/mail-utils.el')
-rw-r--r-- | lisp/mail/mail-utils.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/mail/mail-utils.el b/lisp/mail/mail-utils.el index 42bcbd38bd3..06199bcab6b 100644 --- a/lisp/mail/mail-utils.el +++ b/lisp/mail/mail-utils.el @@ -75,9 +75,10 @@ Return a modified address list." (match-end 0)))) ;; Detect nested comments. - (if (string-match "[ \t]*(\\([^)\"\\]\\|\\\\.\\|\\\\\n\\)*(" address) + (if (string-match "[ \t]*(\\([^)\\]\\|\\\\.\\|\\\\\n\\)*(" address) ;; Strip nested comments. (save-excursion + (debug) (set-buffer (get-buffer-create " *temp*")) (erase-buffer) (insert address) @@ -98,7 +99,7 @@ Return a modified address list." (while (setq pos (string-match ;; This doesn't hack rfc822 nested comments ;; `(xyzzy (foo) whinge)' properly. Big deal. - "[ \t]*(\\([^)\"\\]\\|\\\\.\\|\\\\\n\\)*)" + "[ \t]*(\\([^)\\]\\|\\\\.\\|\\\\\n\\)*)" address)) (setq address (mail-string-delete address |