[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: custom-set-variables overwritten bysafe-local-variab
From: |
Chong Yidong |
Subject: |
Re: address@hidden: custom-set-variables overwritten bysafe-local-variables] |
Date: |
Tue, 02 May 2006 19:21:41 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
"Stuart D. Herring" <address@hidden> writes:
>>> Simple workaround is to put (todo-show) after the
>>> `custom-set-variables'.
>>> Better yet, replace with (add-hook 'after-init-hook 'todo-show); .emacs
>>> isn't really supposed to be doing anything user-visible (like opening
>>> buffers), but it can arrange for it to happen later.
>>
>> Why not make todo-show do
>>
>> (let ((enable-local-variables nil))
>> ( ... load the files ...))
>
> But what if don't want to ignore the local variables? It's not like
> Custom will go back and install the safe ones in all open buffers once
> `safe-local-variables' is set...
>
> Are we attempting to solve different problems?
On second thought, my suggestion is no good. I guess putting
(todo-show) after `custom-set-variables' is the best bet. Let's stop
worrying about this.