diff lisp/progmodes/etags.el @ 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 8bcf1c901e9a
children 93141d34a175
line wrap: on
line diff
--- 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)