Revert last bug-reference-url-format change.

* progmodes/bug-reference.el (bug-reference-url-format): Revert
2010-04-27 change due to security risk.
This commit is contained in:
Chong Yidong 2010-04-28 11:45:45 -04:00
parent 56924d996f
commit 36045ff330
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2010-04-28 Chong Yidong <cyd@stupidchicken.com>
* progmodes/bug-reference.el (bug-reference-url-format): Revert
2010-04-27 change due to security risk.
2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
Make it possible to locally disable a globally enabled mode.

View file

@ -51,8 +51,7 @@ 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
(lambda (s) (or (stringp s) (functionp s))))
(put 'bug-reference-url-format 'safe-local-variable 'stringp)
(defconst bug-reference-bug-regexp
"\\([Bb]ug ?#\\|[Pp]atch ?#\\|RFE ?#\\|PR [a-z-+]+/\\)\\([0-9]+\\)"