auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-devel] safe-local-variable expressions (was: [AUCTeX-diffs] Chan


From: Reiner Steib
Subject: [AUCTeX-devel] safe-local-variable expressions (was: [AUCTeX-diffs] Changes to auctex/ChangeLog)
Date: Wed, 10 May 2006 15:16:25 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

On Wed, May 10 2006, David Kastrup wrote:

>> +2006-05-10  Reiner Steib  <address@hidden>
>> +
>> +    * 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

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]