emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 8ad9567: Small fix for bug-reference.el


From: Glenn Morris
Subject: [Emacs-diffs] master 8ad9567: Small fix for bug-reference.el
Date: Wed, 5 Jul 2017 13:32:34 -0400 (EDT)

branch: master
commit 8ad9567a4934c811e10f5b792db7363dd0c5511b
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    Small fix for bug-reference.el
    
    * lisp/progmodes/bug-reference.el (bug-reference-bug-regexp):
    Autoload safety property.  (Bug#27481)
---
 lisp/progmodes/bug-reference.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]