diff options
| author | Lars Ingebrigtsen | 2019-08-21 13:22:56 -0700 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-08-21 13:22:56 -0700 |
| commit | b60bdfcd4cc4fdfa38894e8619ce4fec206b8303 (patch) | |
| tree | 6b6b5f32f3926a392e6dc757eb8c4689bd891588 | |
| parent | ab9cb08ebba1cb85d45065887f5dcc2cdafbb5df (diff) | |
| download | emacs-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).
| -rw-r--r-- | doc/lispref/windows.texi | 8 |
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 | |||
| 4034 | With prefix argument @var{kill} non-@code{nil}, it kills the buffer | 4034 | With prefix argument @var{kill} non-@code{nil}, it kills the buffer |
| 4035 | instead of burying it. It calls the function @code{quit-restore-window} | 4035 | instead of burying it. It calls the function @code{quit-restore-window} |
| 4036 | described next to deal with the window and its buffer. | 4036 | described next to deal with the window and its buffer. |
| 4037 | |||
| 4038 | @vindex quit-window-hook | ||
| 4039 | The functions in @code{quit-window-hook} are run before doing anything | ||
| 4040 | else. | ||
| 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 | |||
| 4043 | elements of the list specified by @var{window}'s @code{quit-restore} | 4047 | elements of the list specified by @var{window}'s @code{quit-restore} |
| 4044 | parameter (@pxref{Window Parameters}). | 4048 | parameter (@pxref{Window Parameters}). |
| 4045 | 4049 | ||
| 4046 | @vindex quit-window-hook | ||
| 4047 | The functions in @code{quit-window-hook} are run before doing anything | ||
| 4048 | else. | ||
| 4049 | |||
| 4050 | The first element of the @code{quit-restore} parameter is one of the | 4050 | The first element of the @code{quit-restore} parameter is one of the |
| 4051 | symbols @code{window}, meaning that the window has been specially | 4051 | symbols @code{window}, meaning that the window has been specially |
| 4052 | created by @code{display-buffer}; @code{frame}, a separate frame has | 4052 | created by @code{display-buffer}; @code{frame}, a separate frame has |