# HG changeset patch # User Richard M. Stallman # Date 865113297 0 # Node ID 4a796f28f98eee685fb36f1c529e8307c575af61 # Parent 300068b4fcefb8f821dee2b1cbc0fc957f97962c (mail-strip-quoted-names): Don't delete angle brackets when there's a colon inside them. diff -r 300068b4fcef -r 4a796f28f98e lisp/mail/mail-utils.el --- a/lisp/mail/mail-utils.el Sat May 31 19:20:26 1997 +0000 +++ b/lisp/mail/mail-utils.el Sat May 31 21:14:57 1997 +0000 @@ -160,7 +160,7 @@ (mail-string-delete address pos (match-end 0))))) ;; Retain only part of address in <> delims, if there is such a thing. - (while (setq pos (string-match "\\(,\\s-*\\|\\`\\)[^,]*<\\([^>,]*>\\)" + (while (setq pos (string-match "\\(,\\s-*\\|\\`\\)[^,]*<\\([^>,:]*>\\)" address)) (let ((junk-beg (match-end 1)) (junk-end (match-beginning 2))