emacs-devel
[Top][All Lists]
Advanced

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

Re: /srv/bzr/emacs/trunk r100059: (bug-reference-url-format): Mark as `s


From: Chong Yidong
Subject: Re: /srv/bzr/emacs/trunk r100059: (bug-reference-url-format): Mark as `safe-local-variable' if the value
Date: Wed, 28 Apr 2010 11:51:41 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.96 (gnu/linux)

"Davis Herring" <address@hidden> writes:

>> (put 'bug-reference-url-format 'safe-local-variable
>>   (let ((f (get 'bug-reference-url-format 'safe-local-variable)))
>>    (lambda (s) (or (funcall f s) (eq s
>> 'clisp-bug-reference-url-format)))))
>
> That won't work if the existing value is not a function (e.g. if it is t
> (which would be foolish, of course) or nil).

A `safe-local-variable' property must be a function of one argument
(or nil).




reply via email to

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