emacs-devel
[Top][All Lists]
Advanced

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

functionp bug


From: Katsumi Yamaoka
Subject: functionp bug
Date: Mon, 07 Apr 2008 10:20:49 +0900
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.2.50 (gnu/linux)

Hi,

This change

2008-04-05  Stefan Monnier  <address@hidden>

        * subr.el (functionp): Return nil for special forms.

makes the following form return nil:

(functionp 'or)

Because of this, the `file' mail source without the :path spec,
i.e. (setq mail-sources '((file))), for Gnus doesn't work as
follows:

(mail-source-value (cadr (assq :path (assq 'file mail-source-keyword-map))))
 => (or (getenv "MAIL")
        (expand-file-name (user-login-name) rmail-spool-directory))

But it should return the eval'd value of this form.

A workaround is to specify the :path argument explicitly in the
`file' mail source.  This bug seems to influence not only it but
also other programs, so I hope it is fixed as soon as possible.

Regards,




reply via email to

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