changeset 88291:9e7ed1bfee5d

(rmail-unknown-mail-followup-to): Handle a nil value of rmail-user-mail-address-regexp.
author Henrik Enberg <henrik.enberg@telia.com>
date Wed, 25 Jan 2006 16:39:22 +0000
parents 827c27efb23b
children b77cb10ab1be
files lisp/mail/rmail.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)))