[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Should `auto-fill-function' be a safe local variable?
From: |
Leo |
Subject: |
Re: Should `auto-fill-function' be a safe local variable? |
Date: |
Tue, 31 Mar 2009 17:22:53 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
On 2009-01-06 22:59 +0000, Richard M Stallman wrote:
> So should `auto-fill-function' be a safe local variable?
>
> In general, it cannot be safe. Its value is a function.
> But we could say that the value nil is safe for it.
[...]
On 2009-01-06 21:39 +0000, Stefan Monnier wrote:
[...]
>> So should `auto-fill-function' be a safe local variable?
>
> Of course not. It's safe to set it to nil, but not to set it to some
> arbitrary value such as (lambda (&rest) (wreak-havoc)).
Hi Richard and Stefan,
Our discussion a long while ago seems to converge to making nil safe for
auto-fill-function. I have been using
(put 'auto-fill-function 'safe-local-variable 'null)
in my .emacs, which enables users to disable auto-fill on a per-file
basis. May it be possible to make that default in Emacs?
Best wishes,
Leo
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Should `auto-fill-function' be a safe local variable?,
Leo <=