GNU bug report logs - #8387
24.0.50; `run-hook-with-args' return value has changed

Previous Next

Package: emacs;

Reported by: Michael Welsh Duggan <md5i <at> md5i.com>

Date: Thu, 31 Mar 2011 06:27:02 UTC

Severity: normal

Found in version 24.0.50

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 8387-done <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Michael Welsh Duggan <md5i <at> md5i.com>
Cc: 8387-done <at> debbugs.gnu.org
Subject: Re: bug#8387: 24.0.50; `run-hook-with-args' return value has changed
Date: Thu, 31 Mar 2011 17:02:21 +0200
On Thu, Mar 31, 2011 at 08:25, Michael Welsh Duggan <md5i <at> md5i.com> wrote:

> (run-hook-with-args 'foo-hook 'foo) C-j
>
> In the past, this would return 'test instead of nil.  This breaks some
> code, in particular bbdb, which has the following:

I'm closing this one, as it is not a bug.

The docstring of `run-hook-with-args' contains this bit, since at
least Emacs 22.1:

"It is best not to depend on the value returned by `run-hook-with-args',
as that may change."

    Juanma




This bug report was last modified 14 years and 60 days ago.

Previous Next


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