Subject: bug#9867: 24.0.90; quit-window should provide quit-window-hook

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 23 Aug 2019 10:05:37 +0200

martin rudalics <[email-masked]> writes:

> The function on the hook still wouldn't reliably know which window was
> quit, for example, when its buffer is displayed in two windows at the
> same time.  Consider:
>
> (let ((window (split-window)))
>   (quit-window nil window))

That's true, but is there a use case for the hook function having to
know what window it's quitting?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no