changeset 15439:b549210f6989

(mail-strip-quoted-names): `"' is not special inside an RFC 822 comment.
author Richard M. Stallman <rms@gnu.org>
date Sun, 16 Jun 1996 18:47:08 +0000
parents fb91eb76bead
children 87c6c9287f45
files lisp/mail/mail-utils.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/mail-utils.el	Sun Jun 16 18:23:28 1996 +0000
+++ b/lisp/mail/mail-utils.el	Sun Jun 16 18:47:08 1996 +0000
@@ -75,9 +75,10 @@
 					      (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 @@
 	 (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