On Wed, May 10 2006, David Kastrup wrote:

> Reiner Steib <[EMAIL PROTECTED]> writes:
>> | 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.  [...]
>
> Hm, maybe just make the function non-anonymous?

You mean to introduce a function like `TeX-master-safe-p' to have...

| This variable is safe to use as a file local variable only if its value
| satisfies the predicate `TeX-master-safe-p'.

...  instead of the following?

| This variable is safe to use as a file local variable only if its value
| satisfies the predicate `(lambda (x) (or (stringp x) (member x (quote (t nil 
shared dwim)))))'.

[ Maybe we should discuss this on emacs-pretest-bug or emacs-devel
because `TeX-master' is just one example? ]

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



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

Reply via email to