all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: [Emacs-diffs] master afdf679: Add a new hook: `quit-window-hook'
       [not found] ` <20190820022227.3313520A0E@vcs0.savannah.gnu.org>
@ 2019-08-20  9:10   ` Stefan Monnier
  2019-08-21 20:38     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Monnier @ 2019-08-20  9:10 UTC (permalink / raw)
  To: emacs-devel; +Cc: Lars Ingebrigtsen

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


        Stefan




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Emacs-diffs] master afdf679: Add a new hook: `quit-window-hook'
  2019-08-20  9:10   ` [Emacs-diffs] master afdf679: Add a new hook: `quit-window-hook' Stefan Monnier
@ 2019-08-21 20:38     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2019-08-21 20:38 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

Stefan Monnier <monnier@iro.umontreal.ca> 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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-08-21 20:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20190820022225.19444.90353@vcs0.savannah.gnu.org>
     [not found] ` <20190820022227.3313520A0E@vcs0.savannah.gnu.org>
2019-08-20  9:10   ` [Emacs-diffs] master afdf679: Add a new hook: `quit-window-hook' Stefan Monnier
2019-08-21 20:38     ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.