GNU bug report logs -
#27481
25.1; Autoloads in bug-references.el
Previous Next
Reported by: Yuri Khan <yuri.v.khan <at> gmail.com>
Date: Sun, 25 Jun 2017 10:39:01 UTC
Severity: minor
Found in version 25.1
Fixed in version 26.1
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #10 received at 27481-done <at> debbugs.gnu.org (full text, mbox):
Version: 26.1
Thanks; fixed.
commit 8ad9567
Date: Wed Jul 5 13:32:26 2017 -0400
Small fix for bug-reference.el
* lisp/progmodes/bug-reference.el (bug-reference-bug-regexp):
Autoload safety property. (Bug#27481)
diff --git a/lisp/progmodes/bug-reference.el b/lisp/progmodes/bug-reference.el
index 210f035..13c52a4 100644
--- a/lisp/progmodes/bug-reference.el
+++ b/lisp/progmodes/bug-reference.el
@@ -73,10 +73,12 @@ so that it is considered safe, see `enable-local-variables'.")
"Regular expression matching bug references.
The second subexpression should match the bug reference (usually a number)."
:type 'string
- :safe 'stringp
:version "24.3" ; previously defconst
:group 'bug-reference)
+;;;###autoload
+(put 'bug-reference-bug-regexp 'safe-local-variable 'stringp)
+
(defun bug-reference-set-overlay-properties ()
"Set properties of bug reference overlays."
(put 'bug-reference 'evaporate t)
This bug report was last modified 7 years and 321 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.