From 310d0d401bafcf4660b52caa2dea768a32ce7aed Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 24 Apr 1998 20:17:35 +0000 Subject: [PATCH] (mail-complete-alist): Don't refer to mail-address-field-regexp. --- lisp/mail/mailalias.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/mail/mailalias.el b/lisp/mail/mailalias.el index f4f5df17bba..5916329f68a 100644 --- a/lisp/mail/mailalias.el +++ b/lisp/mail/mailalias.el @@ -56,7 +56,10 @@ When t this still needs to be initialized.") (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) -- 2.39.2