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


Message #15 received at 1102 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Phil Hagelberg <phil <at> hagelb.org>
Cc: 1102 <at> debbugs.gnu.org
Subject: Re: bug#1102: Modification of patch
Date: Thu, 16 Oct 2008 01:54:49 -0400
Phil Hagelberg wrote:

> 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.




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

Previous Next


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