help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can tags-file-name be set by .dir-locals.el


From: Plato Wu
Subject: Re: Can tags-file-name be set by .dir-locals.el
Date: Wed, 08 Dec 2010 15:22:09 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux)

I have got the reason, the safe-local-variable property of
tags-file-name is nil, so dir-locals regard it as unsafe variables,
and the default value is enable-local-variables :safe, so
tags-file-name is not set. just put this into .emacs works!

(put 'tags-file-name 'safe-local-variable 'stringp)

Read The Fucking Code is good! :D


reply via email to

[Prev in Thread] Current Thread [Next in Thread]