diff options
| author | Martin Rudalics | 2017-08-07 09:51:01 +0200 |
|---|---|---|
| committer | Martin Rudalics | 2017-08-07 09:51:01 +0200 |
| commit | b6b362c91016473eec97feb3dbb6e0448d48b88e (patch) | |
| tree | 1035c10a95c73aecb5a876aadc048a08f73c9f83 | |
| parent | 446e92548f932f18d57924573b49b5e6f4ae70c4 (diff) | |
| download | emacs-b6b362c91016473eec97feb3dbb6e0448d48b88e.tar.gz emacs-b6b362c91016473eec97feb3dbb6e0448d48b88e.zip | |
Fix doc-string of `delete-other-windows'
* lisp/window.el (delete-other-windows): Fix doc-string.
| -rw-r--r-- | lisp/window.el | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lisp/window.el b/lisp/window.el index 2b979f46636..f1c82c759d8 100644 --- a/lisp/window.el +++ b/lisp/window.el | |||
| @@ -4096,17 +4096,17 @@ WINDOW must be a valid window and defaults to the selected one. | |||
| 4096 | Return nil. | 4096 | Return nil. |
| 4097 | 4097 | ||
| 4098 | If the variable `ignore-window-parameters' is non-nil or the | 4098 | If the variable `ignore-window-parameters' is non-nil or the |
| 4099 | `delete-other-windows' parameter of WINDOW equals t, do not | 4099 | `delete-other-windows' parameter of WINDOW equals t, do not pay |
| 4100 | process any parameters of WINDOW. Otherwise, if the | 4100 | attention to any other parameters of WINDOW. Otherwise, if the |
| 4101 | `delete-other-windows' parameter of WINDOW specifies a function, | 4101 | `delete-other-windows' parameter of WINDOW specifies a function, |
| 4102 | call that function with WINDOW as its sole argument and return | 4102 | call that function with WINDOW as its sole argument and return |
| 4103 | the value returned by that function. | 4103 | the value returned by that function. |
| 4104 | 4104 | ||
| 4105 | Otherwise, if WINDOW is part of an atomic window, call this | 4105 | Else, if WINDOW is part of an atomic window, call this function |
| 4106 | function with the root of the atomic window as its argument. If | 4106 | with the root of the atomic window as its argument. Signal an |
| 4107 | WINDOW is a non-side window, make WINDOW the only non-side window | 4107 | error if that root window is the root window of WINDOW's frame. |
| 4108 | on the frame. Side windows are not deleted. If WINDOW is a side | 4108 | Also signal an error if WINDOW is a side window. Do not delete |
| 4109 | window signal an error." | 4109 | any window whose `no-delete-other-window' parameter is non-nil." |
| 4110 | (interactive) | 4110 | (interactive) |
| 4111 | (setq window (window-normalize-window window)) | 4111 | (setq window (window-normalize-window window)) |
| 4112 | (let* ((frame (window-frame window)) | 4112 | (let* ((frame (window-frame window)) |
| @@ -4152,8 +4152,8 @@ window signal an error." | |||
| 4152 | t) | 4152 | t) |
| 4153 | (setq main (window-main-window frame))) | 4153 | (setq main (window-main-window frame))) |
| 4154 | (t | 4154 | (t |
| 4155 | ;; Delete other windows via `delete-window' because either a | 4155 | ;; Delete windows via `delete-window' because we found either a |
| 4156 | ;; side window is or a non-side-window is not deletable. | 4156 | ;; deletable side window or a non-deletable non-side-window. |
| 4157 | (dolist (other (window-list frame)) | 4157 | (dolist (other (window-list frame)) |
| 4158 | (when (and (window-live-p other) | 4158 | (when (and (window-live-p other) |
| 4159 | (not (eq other window)) | 4159 | (not (eq other window)) |