Small fix for bug-reference.el
* lisp/progmodes/bug-reference.el (bug-reference-bug-regexp): Autoload safety property. (Bug#27481)
This commit is contained in:
parent
17efc48000
commit
8ad9567a49
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue