[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Declaring a variable safe
From: |
Eli Zaretskii |
Subject: |
Re: Declaring a variable safe |
Date: |
Sun, 28 Mar 2010 23:34:10 +0300 |
> Cc: address@hidden
> From: Glenn Morris <address@hidden>
> Date: Sun, 28 Mar 2010 14:16:15 -0400
>
> Eli Zaretskii wrote:
>
> > (put 'foobar 'safe-local-variable 'booleanp)
> >
> > But what is the recommended way of doing this with a variable that is
> > defined in the C sources? One possibility is to put the above form
> > somewhere in a Lisp file that is preloaded, like simple.el.
>
> This is currently done ~ line 2770 of files.el.
Thanks, this is exactly what I was looking for.