changeset 21752:122b15805e79

(mail-complete-alist): Don't refer to mail-address-field-regexp.
author Richard M. Stallman <rms@gnu.org>
date Fri, 24 Apr 1998 20:17:35 +0000
parents a77fd55ee78a
children 1d6cc4a65d70
files lisp/mail/mailalias.el
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/mailalias.el	Fri Apr 24 19:46:03 1998 +0000
+++ b/lisp/mail/mailalias.el	Fri Apr 24 20:17:35 1998 +0000
@@ -56,7 +56,10 @@
 (defcustom mail-complete-alist
   ;; Don't use backquote here; we don't want backquote to get loaded
   ;; just because of loading this file.
-  (cons (cons mail-address-field-regexp '(mail-get-names pattern))
+  ;; Don't refer to mail-address-field-regexp here;
+  ;; that confuses some things such as cus-dep.el.
+  (cons '("^\\(Resent-\\)?\\(To\\|From\\|CC\\|BCC\\|Reply-to\\):"
+	  . (mail-get-names pattern))
 	'(("Newsgroups:" . (if (boundp 'gnus-active-hashtb)
 			       gnus-active-hashtb
 			     (if (boundp news-group-article-assoc)