From: Lars Ingebrigtsen Date: Wed, 21 Jul 2021 11:15:05 +0000 (+0200) Subject: Fix bug-reference.el compilation warning X-Git-Tag: emacs-28.0.90~1772 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=92923414a031471d427e84440e29fd8d7e3ea89f;p=emacs.git Fix bug-reference.el compilation warning * lisp/progmodes/bug-reference.el (bug-reference-mode): Silence a compilation warning (bug#49677). --- diff --git a/lisp/progmodes/bug-reference.el b/lisp/progmodes/bug-reference.el index 755211b922b..9b9c58eb1f2 100644 --- a/lisp/progmodes/bug-reference.el +++ b/lisp/progmodes/bug-reference.el @@ -345,6 +345,7 @@ and set it if applicable." (defvar gnus-article-buffer) (defvar gnus-original-article-buffer) (defvar gnus-summary-buffer) +(defvar bug-reference-mode) (defun bug-reference--try-setup-gnus-article () (when (and bug-reference-mode ;; Only if enabled in article buffers.