# HG changeset patch # User Henrik Enberg # Date 1138207162 0 # Node ID 9e7ed1bfee5daca3ebd5d33cc8e8d66976f05a2b # Parent 827c27efb23b7d7dc98323b9cf4704dcc9311dab (rmail-unknown-mail-followup-to): Handle a nil value of rmail-user-mail-address-regexp. diff -r 827c27efb23b -r 9e7ed1bfee5d lisp/mail/rmail.el --- a/lisp/mail/rmail.el Mon Jan 23 23:21:03 2006 +0000 +++ b/lisp/mail/rmail.el Wed Jan 25 16:39:22 2006 +0000 @@ -2106,7 +2106,9 @@ ",[[:space:]]+" t))) (dolist (addr addresses) (when (and (not (member addr mail-mailing-lists)) - (not (string-match rmail-user-mail-address-regexp addr)) + (and rmail-user-mail-address-regexp + (not (string-match rmail-user-mail-address-regexp + addr))) (y-or-n-p (format "Add `%s' to `mail-mailing-lists'? " addr)))