diff options
| author | Michael Shields | 2011-03-05 18:14:43 -0800 |
|---|---|---|
| committer | Glenn Morris | 2011-03-05 18:14:43 -0800 |
| commit | aa248733c52e96be02c8ffac27f049f45eff8269 (patch) | |
| tree | de3420b48c62c95c04b3208dfe68676c81f48777 /lisp | |
| parent | da0275f8e3bfcaa3e76bd681b3f7f67fd6f9c437 (diff) | |
| download | emacs-aa248733c52e96be02c8ffac27f049f45eff8269.tar.gz emacs-aa248733c52e96be02c8ffac27f049f45eff8269.zip | |
Doc fixes for bug#5567 (tiny change)
* lisp/window.el (one-window-p, walk-windows, display-buffer): Doc fixes.
* src/window.c (Fnext_window): Doc (and comment) fixes.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/window.el | 23 |
2 files changed, 18 insertions, 10 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e46ce544b3a..1168b493314 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-03-06 Michael Shields <shields@msrl.com> (tiny change) | ||
| 2 | |||
| 3 | * window.el (one-window-p, walk-windows, display-buffer): | ||
| 4 | Doc fixes. (Bug#5567) | ||
| 5 | |||
| 1 | 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com> | 6 | 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com> |
| 2 | 7 | ||
| 3 | * cus-edit.el (custom-prompt-variable): Use the `custom-get' property | 8 | * cus-edit.el (custom-prompt-variable): Use the `custom-get' property |
diff --git a/lisp/window.el b/lisp/window.el index af5d9a5b16b..c3f8de6f9dd 100644 --- a/lisp/window.el +++ b/lisp/window.el | |||
| @@ -106,11 +106,12 @@ even if it is active. Otherwise, the minibuffer is counted | |||
| 106 | when it is active. | 106 | when it is active. |
| 107 | 107 | ||
| 108 | The optional arg ALL-FRAMES t means count windows on all frames. | 108 | The optional arg ALL-FRAMES t means count windows on all frames. |
| 109 | If it is `visible', count windows on all visible frames. | 109 | If it is `visible', count windows on all visible frames on the |
| 110 | ALL-FRAMES nil or omitted means count only the selected frame, | 110 | current terminal. ALL-FRAMES nil or omitted means count only the |
| 111 | plus the minibuffer it uses (which may be on another frame). | 111 | selected frame, plus the minibuffer it uses (which may be on |
| 112 | ALL-FRAMES 0 means count all windows in all visible or iconified frames. | 112 | another frame). ALL-FRAMES 0 means count all windows in all |
| 113 | If ALL-FRAMES is anything else, count only the selected frame." | 113 | visible or iconified frames on the current terminal. If |
| 114 | ALL-FRAMES is anything else, count only the selected frame." | ||
| 114 | (let ((base-window (selected-window))) | 115 | (let ((base-window (selected-window))) |
| 115 | (if (and nomini (eq base-window (minibuffer-window))) | 116 | (if (and nomini (eq base-window (minibuffer-window))) |
| 116 | (setq base-window (next-window base-window))) | 117 | (setq base-window (next-window base-window))) |
| @@ -169,9 +170,9 @@ ALL-FRAMES nil or omitted means cycle through all windows on the | |||
| 169 | ALL-FRAMES t means cycle through all windows on all existing | 170 | ALL-FRAMES t means cycle through all windows on all existing |
| 170 | frames. | 171 | frames. |
| 171 | ALL-FRAMES `visible' means cycle through all windows on all | 172 | ALL-FRAMES `visible' means cycle through all windows on all |
| 172 | visible frames. | 173 | visible frames on the current terminal. |
| 173 | ALL-FRAMES 0 means cycle through all windows on all visible and | 174 | ALL-FRAMES 0 means cycle through all windows on all visible and |
| 174 | iconified frames. | 175 | iconified frames on the current terminal. |
| 175 | ALL-FRAMES a frame means cycle through all windows on that frame | 176 | ALL-FRAMES a frame means cycle through all windows on that frame |
| 176 | only. | 177 | only. |
| 177 | Anything else means cycle through all windows on the selected | 178 | Anything else means cycle through all windows on the selected |
| @@ -1067,9 +1068,11 @@ when the specified buffer is already displayed. If the buffer is | |||
| 1067 | already displayed in some window on one of these frames simply | 1068 | already displayed in some window on one of these frames simply |
| 1068 | return that window. Possible values of FRAME are: | 1069 | return that window. Possible values of FRAME are: |
| 1069 | 1070 | ||
| 1070 | `visible' - consider windows on all visible frames. | 1071 | `visible' - consider windows on all visible frames on the current |
| 1072 | terminal. | ||
| 1071 | 1073 | ||
| 1072 | 0 - consider windows on all visible or iconified frames. | 1074 | 0 - consider windows on all visible or iconified frames on the |
| 1075 | current terminal. | ||
| 1073 | 1076 | ||
| 1074 | t - consider windows on all frames. | 1077 | t - consider windows on all frames. |
| 1075 | 1078 | ||
| @@ -1079,7 +1082,7 @@ nil - consider windows on the selected frame \(actually the | |||
| 1079 | last non-minibuffer frame\) only. If, however, either | 1082 | last non-minibuffer frame\) only. If, however, either |
| 1080 | `display-buffer-reuse-frames' or `pop-up-frames' is non-nil | 1083 | `display-buffer-reuse-frames' or `pop-up-frames' is non-nil |
| 1081 | \(non-nil and not graphic-only on a text-only terminal), | 1084 | \(non-nil and not graphic-only on a text-only terminal), |
| 1082 | consider all visible or iconified frames." | 1085 | consider all visible or iconified frames on the current terminal." |
| 1083 | (interactive "BDisplay buffer:\nP") | 1086 | (interactive "BDisplay buffer:\nP") |
| 1084 | (let* ((can-use-selected-window | 1087 | (let* ((can-use-selected-window |
| 1085 | ;; The selected window is usable unless either NOT-THIS-WINDOW | 1088 | ;; The selected window is usable unless either NOT-THIS-WINDOW |