diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-06-15 16:53:52 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-06-15 16:53:52 +0200 |
commit | a979a0ad07a8e2452c1267d2c1299000e543051d (patch) | |
tree | 81d3415a7eb31af63ce745c8c8219e044f5e074c /lisp | |
parent | 0c01734a324716ea6c214d79b9f760dbeb431162 (diff) | |
download | emacs-a979a0ad07a8e2452c1267d2c1299000e543051d.tar.gz emacs-a979a0ad07a8e2452c1267d2c1299000e543051d.tar.bz2 emacs-a979a0ad07a8e2452c1267d2c1299000e543051d.zip |
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'.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/mail/mailalias.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/mail/mailalias.el b/lisp/mail/mailalias.el index 42896c18ebe..8bb42634892 100644 --- a/lisp/mail/mailalias.el +++ b/lisp/mail/mailalias.el @@ -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; |