Re: Setting risky-local-variable

2005-05-28 Thread Richard Stallman
> 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

Re: Setting risky-local-variable

2005-05-27 Thread Juanma Barranquero
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

Re: Setting risky-local-variable

2005-05-27 Thread Richard Stallman
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

Setting risky-local-variable

2005-05-26 Thread Juanma Barranquero
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