changeset 109785:de5d6a3f1493

* lisp/progmodes/etags.el (tags-file-name): Mark safe if stringp (Bug#6733).
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 14 Aug 2010 19:01:42 -0400
parents 2abe46caa971
children 29d15cb50113
files lisp/ChangeLog lisp/progmodes/etags.el
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat Aug 14 18:58:10 2010 -0400
+++ b/lisp/ChangeLog	Sat Aug 14 19:01:42 2010 -0400
@@ -1,3 +1,8 @@
+2010-08-14  Tom Tromey  <tromey@redhat.com>
+
+	* progmodes/etags.el (tags-file-name): Mark safe if stringp
+	(Bug#6733).
+
 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
 
 	* mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
--- a/lisp/progmodes/etags.el	Sat Aug 14 18:58:10 2010 -0400
+++ b/lisp/progmodes/etags.el	Sat Aug 14 19:01:42 2010 -0400
@@ -40,6 +40,7 @@
 Use the `etags' program to make a tags table file.")
 ;; Make M-x set-variable tags-file-name like M-x visit-tags-table.
 ;;;###autoload (put 'tags-file-name 'variable-interactive (purecopy "fVisit tags table: "))
+;;;###autoload (put 'tags-file-name 'safe-local-variable 'stringp)
 
 (defgroup etags nil "Tags tables."
   :group 'tools)