GNU bug report logs - #1102
23.0.60; add-hook should check that its function arg is a function.

Previous Next

Package: emacs;

Reported by: Phil Hagelberg <phil <at> hagelb.org>

Date: Mon, 6 Oct 2008 17:45:03 UTC

Severity: wishlist

Tags: wontfix

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Phil Hagelberg <phil <at> hagelb.org>
To: Glenn Morris <rgm <at> gnu.org>
Subject: bug#1102: Modification of patch
Date: Thu, 16 Oct 2008 09:09:32 -0700
Glenn Morris <rgm <at> gnu.org> writes:

>> add-hook should allow symbols since it's reasonable to refer to
>> functions that haven't been defined yet.
>
> Doesn't it therefore seem a bit pointless to check? There will always
> be ways to shoot oneself in the foot. I imagine many functions don't
> check the type of their arguments.

Yeah, you're probably right; in retrospect I'm not sure why it's
necessary. Feel free to close as a wontfix.

-Phil




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

Previous Next


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