[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master b60bdfc 2/2: Adjust quit-window-hook documentation
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master b60bdfc 2/2: Adjust quit-window-hook documentation |
Date: |
Wed, 21 Aug 2019 16:23:09 -0400 (EDT) |
branch: master
commit b60bdfcd4cc4fdfa38894e8619ce4fec206b8303
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Adjust quit-window-hook documentation
* doc/lispref/windows.texi (Quitting Windows): Adjust
documentation of quit-window-hook (bug#9867).
---
doc/lispref/windows.texi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index 157f004..39d3960 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -4034,6 +4034,10 @@ This command quits @var{window} and buries its buffer.
The argument
With prefix argument @var{kill} non-@code{nil}, it kills the buffer
instead of burying it. It calls the function @code{quit-restore-window}
described next to deal with the window and its buffer.
+
+@vindex quit-window-hook
+The functions in @code{quit-window-hook} are run before doing anything
+else.
@end deffn
@defun quit-restore-window &optional window bury-or-kill
@@ -4043,10 +4047,6 @@ the selected one. The function's behavior is determined
by the four
elements of the list specified by @var{window}'s @code{quit-restore}
parameter (@pxref{Window Parameters}).
-@vindex quit-window-hook
-The functions in @code{quit-window-hook} are run before doing anything
-else.
-
The first element of the @code{quit-restore} parameter is one of the
symbols @code{window}, meaning that the window has been specially
created by @code{display-buffer}; @code{frame}, a separate frame has