emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master afdf679: Add a new hook: `quit-window-hook'


From: Lars Ingebrigtsen
Subject: Re: [Emacs-diffs] master afdf679: Add a new hook: `quit-window-hook'
Date: Wed, 21 Aug 2019 13:38:12 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>>     Add a new hook: `quit-window-hook'
>
> Beside the comments that Martin just sent in the bug#9867, I'll add that
> it'd be good to see some actual uses of this new hook installed with
> the patch (e.g. to redefine Info-exit as an obsolete alias for
> quit-window).

Makes sense; I've now done this.  I guess whenever a special mode is
defining "q" to something other than `quit-window', it's likely that it
can be rewritten to use the hook instead.

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



reply via email to

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