changeset 108155:c9ad0799fa6a

Revert last bug-reference-url-format change. * progmodes/bug-reference.el (bug-reference-url-format): Revert 2010-04-27 change due to security risk.
author Chong Yidong <cyd@stupidchicken.com>
date Wed, 28 Apr 2010 11:45:45 -0400
parents cede0252a395
children 41f5a4a424d8
files lisp/ChangeLog lisp/progmodes/bug-reference.el
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Apr 28 11:18:37 2010 -0400
+++ b/lisp/ChangeLog	Wed Apr 28 11:45:45 2010 -0400
@@ -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.
--- a/lisp/progmodes/bug-reference.el	Wed Apr 28 11:18:37 2010 -0400
+++ b/lisp/progmodes/bug-reference.el	Wed Apr 28 11:45:45 2010 -0400
@@ -51,8 +51,7 @@
 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]+\\)"