]> code.delx.au - gnu-emacs/commitdiff
(mail-strip-quoted-names): `"' is not special inside an RFC 822 comment.
authorRichard M. Stallman <rms@gnu.org>
Sun, 16 Jun 1996 18:47:08 +0000 (18:47 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 16 Jun 1996 18:47:08 +0000 (18:47 +0000)
lisp/mail/mail-utils.el

index 42bcbd38bd3025c99108b157950cd472b54b9a92..06199bcab6b67552f3572ad4d7e2d3d393a0d004 100644 (file)
@@ -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