GNU bug report logs - #23957
[PATCH] Make fboundp an alias for symbol-function

Previous Next

Package: emacs;

Reported by: Robert Cochran <robert-emacs <at> cochranmail.com>

Date: Tue, 12 Jul 2016 15:50:03 UTC

Severity: wishlist

Tags: fixed, patch

Merged with 23988

Fixed in version 25.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


Message #11 received at 23957 <at> debbugs.gnu.org (full text, mbox):

From: Philipp Stephani <p.stephani2 <at> gmail.com>
To: Drew Adams <drew.adams <at> oracle.com>,
 Robert Cochran <robert-emacs <at> cochranmail.com>, 23957 <at> debbugs.gnu.org
Subject: Re: bug#23957: [PATCH] Make fboundp an alias for symbol-function
Date: Tue, 12 Jul 2016 17:40:06 +0000
[Message part 1 (text/plain, inline)]
Drew Adams <drew.adams <at> oracle.com> schrieb am Di., 12. Juli 2016 um
18:14 Uhr:

> It is not backward compatible, since `fboundp' returns t if
> there is a function value and `symbol-function' returns that
> function value.  This will break any code that depends on
> getting t or nil.
>

And the docstring of `fboundp' does specify that it returns t (not just
non-nil), so this is indeed a breaking chance.

I'd suggest to simply remove the FIXME instead.
[Message part 2 (text/html, inline)]

This bug report was last modified 9 years and 3 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.