GNU bug report logs -
#49677
Compiler warnings for bug-reference.el
Previous Next
Reported by: Arash Esbati <arash <at> gnu.org>
Date: Wed, 21 Jul 2021 07:19:01 UTC
Severity: normal
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi all,
when native compiling bug-reference.el, the compiler says:
Compiling path-to/emacs/share/emacs/28.0.50/lisp/progmodes/bug-reference.el...
In bug-reference--try-setup-gnus-article:
bug-reference.el:350:14: Warning: reference to free variable `bug-reference-mode'
In bug-reference-try-setup-from-rmail:
bug-reference.el:396:14: Warning: reference to free variable `bug-reference-mode'
In bug-reference--run-auto-setup:
bug-reference.el:506:13: Warning: reference to free variable `bug-reference-mode'
The variable is defined through the minor-mode at the end of the file.
I suggest to add the following
(defvar bug-reference-mode)
in line 100 just before
(defvar bug-reference-prog-mode)
which should fix the issue.
I'm running Emacs 28 repo version 13b247c3c4.
Best, Arash
This bug report was last modified 3 years and 304 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.