David Reitter wrote:
> how would one intercept handling of windowClosed events, that is, when
> a user clicks the closer button to delete a frame. I would ideally
> like to advise a function to do something special or use a hook.

See the "Misc(ellaneous Window System) Events" node of the Emacs Lisp
manual:

|   A few other event types represent occurrences within the window
| ystem.
|
| (delete-frame (FRAME))'
|     This kind of event indicates that the user gave the window manager
|     a command to delete a particular window, which happens to be an
|     Emacs frame.
|
|     The standard definition of the `delete-frame' event is to delete
|      FRAME.

--
Kevin Rodgers



_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to