emacs-devel
[Top][All Lists]
Advanced

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

Re: functionp bug


From: Reiner Steib
Subject: Re: functionp bug
Date: Mon, 07 Apr 2008 20:40:54 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.2.50 (gnu/linux)

On Mon, Apr 07 2008, Stefan Monnier wrote:

>>      * subr.el (functionp): Return nil for special forms.
[...]
> I've installed the patch below which should fix it.

> --- mail-source.el.~1.38.~    2008-03-30 10:39:37.000000000 -0400
> +++ mail-source.el    2008-04-07 12:02:53.000000000 -0400
[...]
> -   ((and (listp value)
> -      (functionp (car value)))
> +   ((and (listp value) (symbolp (car value)) (fboundp (car value)))

There are around 70 (functionp somevar) in Gnus.  I'd guess that many
of these expect `functionp' to return non-nil for special forms (or,
if, and, ...).  Maybe it is possible to fix them all, but is it really
the right thing to make such an incompatible change?  What is the
reason for this change?

See <http://thread.gmane.org/address@hidden>
for another problem reported today.

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]