emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: add info about safe-local-variable to describe-variable


From: Reiner Steib
Subject: Re: add info about safe-local-variable to describe-variable
Date: Sun, 14 May 2006 15:00:02 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

On Sun, May 14 2006, Johan Bockgård wrote:

> Reiner Steib <address@hidden> writes:
>
>> Emacs 21 doesn't look at the safe-local-variable property at all.
>
> It does.

Thanks for the correction.  If `allout.el' wants to be compatible with
Emacs 21, also `string-or-null-p' shouldn't be used.

Or `booleanp' and `string-or-null-p' might be conditionally, e.g.:

(put 'TeX-PDF-mode 'safe-local-variable (if (fboundp 'booleanp)
                                            'booleanp
                                          '(lambda (x) (memq x '(nil t)))))

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]