emacs-devel
[Top][All Lists]
Advanced

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

Re: `delete-frame-hook' isn't defined


From: Stefan Monnier
Subject: Re: `delete-frame-hook' isn't defined
Date: Mon, 30 Sep 2002 11:05:31 -0400

> > > Also, should it be renamed to `delete-frame-functions' because it is
> > > an abnormal hook ?
> > 
> > I think it should stay as `delete-frame-hook' but should not receive
> > any argument, instead the frame that's about to be deleted should
> > just be made the `selected-frame'.
> 
> Could you explain why that is preferable ?

Because then it's a "standard hook" and I find it a good thing
to keep things as standard as possible: you don't need to look at the
docstring to know the calling convention, for example.


        Stefan





reply via email to

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