aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-08-21 13:22:56 -0700
committerLars Ingebrigtsen2019-08-21 13:22:56 -0700
commitb60bdfcd4cc4fdfa38894e8619ce4fec206b8303 (patch)
tree6b6b5f32f3926a392e6dc757eb8c4689bd891588 /doc
parentab9cb08ebba1cb85d45065887f5dcc2cdafbb5df (diff)
downloademacs-b60bdfcd4cc4fdfa38894e8619ce4fec206b8303.tar.gz
emacs-b60bdfcd4cc4fdfa38894e8619ce4fec206b8303.zip
Adjust quit-window-hook documentation
* doc/lispref/windows.texi (Quitting Windows): Adjust documentation of quit-window-hook (bug#9867).
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/windows.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index 157f004cf3f..39d3960c9a2 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
4034With prefix argument @var{kill} non-@code{nil}, it kills the buffer 4034With prefix argument @var{kill} non-@code{nil}, it kills the buffer
4035instead of burying it. It calls the function @code{quit-restore-window} 4035instead of burying it. It calls the function @code{quit-restore-window}
4036described next to deal with the window and its buffer. 4036described next to deal with the window and its buffer.
4037
4038@vindex quit-window-hook
4039The functions in @code{quit-window-hook} are run before doing anything
4040else.
4037@end deffn 4041@end deffn
4038 4042
4039@defun quit-restore-window &optional window bury-or-kill 4043@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
4043elements of the list specified by @var{window}'s @code{quit-restore} 4047elements of the list specified by @var{window}'s @code{quit-restore}
4044parameter (@pxref{Window Parameters}). 4048parameter (@pxref{Window Parameters}).
4045 4049
4046@vindex quit-window-hook
4047The functions in @code{quit-window-hook} are run before doing anything
4048else.
4049
4050The first element of the @code{quit-restore} parameter is one of the 4050The first element of the @code{quit-restore} parameter is one of the
4051symbols @code{window}, meaning that the window has been specially 4051symbols @code{window}, meaning that the window has been specially
4052created by @code{display-buffer}; @code{frame}, a separate frame has 4052created by @code{display-buffer}; @code{frame}, a separate frame has