[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: risky-local-variable-p called with 1 argument
From: |
Kim F. Storm |
Subject: |
Re: risky-local-variable-p called with 1 argument |
Date: |
25 Oct 2002 12:08:44 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Juanma Barranquero <address@hidden> writes:
> On 25 Oct 2002 11:41:37 +0200, address@hidden (Kim F. Storm) wrote:
>
> > That change is not recorded in the lisp/ChangeLog, but I found this in
> > the CVS log for lisp/files.el:
> <snip>
> > However, that log message is mis-leading, as the change doesn't define
> > a new function risky-local-variable-p, but rather adds a second
> > mandatory VAL argument to it.
>
> Yeah, I found that too.
>
> > And of course, the last part of that message should have rung a bell :-)
>
> Sure ;-)
>
> OK, so what's the VAL supposed to be passed to `risky-local-variable-p'?
The value you are about to assign to SYM, afaics...
I don't see how we can easily get that value for unsafep-variable, but as
a temporary work-around, I think you should just supply an empty string ""
as the arg [the only current use of the VAL argument is to test it with
stringp].
--
Kim F. Storm <address@hidden> http://www.cua.dk