> Also put a comment about this near where the C code defines the
> variable.
A comment about what?
That statement refers to the other method where you would put on the
property in Lisp code.
___
Emacs-devel mailing list
Emacs-devel@gnu.or
On 5/27/05, Richard Stallman <[EMAIL PROTECTED]> wrote:
> I think the former is cleaner, but the latter is also ok
> if it is more convenient.
I finally used the former, but I had to do:
extern Lisp_Object Qrisky_local_variable;
Fput (intern ("image-library-alist"), Qrisky_local_variable, Qt
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
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)
on a related lisp module?
--
/L