Suppress warning about non-prefixed variable in mailalias.el
* lisp/mail/mailalias.el (patters): Suppress warning about non-prefixed variable used by `mail-complete-alist'.
This commit is contained in:
parent
0c01734a32
commit
a979a0ad07
1 changed files with 5 additions and 1 deletions
|
@ -52,7 +52,11 @@ When t this still needs to be initialized.")
|
|||
(defvar mail-address-field-regexp
|
||||
"^\\(Resent-\\)?\\(To\\|From\\|Cc\\|Bcc\\|Reply-To\\):")
|
||||
|
||||
(defvar pattern)
|
||||
;; `pattern' is bound dynamically before evaluating the forms in
|
||||
;; `mail-complete-alist' and may be part of user customizations of
|
||||
;; that variable.
|
||||
(with-suppressed-warnings ((lexical pattern))
|
||||
(defvar pattern))
|
||||
|
||||
(defcustom mail-complete-alist
|
||||
;; Don't refer to mail-address-field-regexp here;
|
||||
|
|
Loading…
Add table
Reference in a new issue