(bug-reference-url-format): Mark as `safe-local-variable' if the value
is a string or a function, as documented and implemented on 2010-04-02.
This commit is contained in:
parent
cecaa6745f
commit
2a6f654ef1
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2010-04-27 Sam Steingold <sds@gnu.org>
|
||||
|
||||
* progmodes/bug-reference.el (bug-reference-url-format): Mark as
|
||||
`safe-local-variable' if the value is a string or a function, as
|
||||
documented and implemented on 2010-04-02.
|
||||
|
||||
2010-04-27 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
|
||||
|
|
|
@ -51,7 +51,8 @@ It can use `match-string' to get parts matched against
|
|||
There is no default setting for this, it must be set per file.")
|
||||
|
||||
;;;###autoload
|
||||
(put 'bug-reference-url-format 'safe-local-variable 'stringp)
|
||||
(put 'bug-reference-url-format 'safe-local-variable
|
||||
(lambda (s) (or (stringp s) (functionp s))))
|
||||
|
||||
(defconst bug-reference-bug-regexp
|
||||
"\\([Bb]ug ?#\\|[Pp]atch ?#\\|RFE ?#\\|PR [a-z-+]+/\\)\\([0-9]+\\)"
|
||||
|
|
Loading…
Add table
Reference in a new issue