[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: safe-local-variable-values does not work for one variable
From: |
Michael Heerdegen |
Subject: |
Re: safe-local-variable-values does not work for one variable |
Date: |
Sun, 03 Aug 2014 20:34:38 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) |
Karl Voit <devnull@Karl-Voit.at> writes:
> : %%% Local Variables:
> : %%% reftex-default-bibliography: '("~/archive/library")
> : %%%% End:
You don't need to quote list expressions in local variable specs.
> Each time I start my Emacs[1], I get asked the usual
> yes/no/accept_as_safe question regarding this local variable.
>
> I press "!" to mark/store it as being safe. I get the message:
>
> : Saving file /home/vk/hosts/all/config/emacs.d/init-gary.el...
>
> NOTE: This is a symlink to /home/vk/hosts/all/config/emacs.d/init.el
> and /home/vk/hosts/all/config/emacs.d is linked to ~/.emacs.d -> so
> this indirection is working in general and thus, the symlinks should
> not cause this issue: "grep bibliography ~/.emacs.d/init.el" is
> returning the saved custom-set-variables as expected:
I'm not sure whether your problem comes from symlinking.
Are you sure your custom file is loaded when you start Emacs? What's
the value of `safe-local-variable-values' after starting Emacs?
Michael.