Reiner Steib <[EMAIL PROTECTED]> writes:

> On Wed, May 10 2006, David Kastrup wrote:
>
>>> +2006-05-10  Reiner Steib  <[EMAIL PROTECTED]>
>>> +
>>> +   * tex.el (TeX-master): Quote safe-local-variable lambda expression
>>> +   to avoid byte compilation.
>>> +
>>
>> What would be the adverse effect of byte compilation here?
>
> In the output of `describe-variable' you'll see the byte-code unless
> the expression is quoted:
>
> ,----[ <f1> v TeX-master RET ]
> | TeX-master is a variable defined in `tex.el'.
> | Its value is nil
> | 
> | Automatically becomes buffer-local when set in any fashion.
> | 
> | This variable is safe to use as a file local variable only if its value
> | satisfies the predicate `#[(x) [BYTE-CODE] [x (t nil shared dwim)] 2]'.
> | [...]
> `----
>
> Richard advised to quote the lambda expression in this case.  See the
> following discussion on emacs-pretest-bug:
> http://thread.gmane.org/v97j4v1um6.fsf%40marauder.physik.uni-ulm.de
> http://thread.gmane.org/gmane.emacs.pretest.bugs/11847/focus=11937

Hm, maybe just make the function non-anonymous?

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


_______________________________________________
auctex-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to