[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting risky-local-variable
From: |
Richard Stallman |
Subject: |
Re: Setting risky-local-variable |
Date: |
Fri, 27 May 2005 10:20:30 -0400 |
What is the recommended way to set 'risky-local-variable for a Lisp
variable defined in C code?
extern Qrisky_local_variable;
Fput(Vmy_var, Qrisky_local_variable, Qt);
or an autoload
;;;###autoload (put 'my_var 'risky-local-variable t)
I think the former is cleaner, but the latter is also ok
if it is more convenient.
Also put a comment about this near where the C code defines the
variable.