aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorMichael Shields2011-03-05 18:14:43 -0800
committerGlenn Morris2011-03-05 18:14:43 -0800
commitaa248733c52e96be02c8ffac27f049f45eff8269 (patch)
treede3420b48c62c95c04b3208dfe68676c81f48777 /lisp
parentda0275f8e3bfcaa3e76bd681b3f7f67fd6f9c437 (diff)
downloademacs-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/ChangeLog5
-rw-r--r--lisp/window.el23
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 @@
12011-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
12011-03-06 Jay Belanger <jay.p.belanger@gmail.com> 62011-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
106when it is active. 106when it is active.
107 107
108The optional arg ALL-FRAMES t means count windows on all frames. 108The optional arg ALL-FRAMES t means count windows on all frames.
109If it is `visible', count windows on all visible frames. 109If it is `visible', count windows on all visible frames on the
110ALL-FRAMES nil or omitted means count only the selected frame, 110current terminal. ALL-FRAMES nil or omitted means count only the
111plus the minibuffer it uses (which may be on another frame). 111selected frame, plus the minibuffer it uses (which may be on
112ALL-FRAMES 0 means count all windows in all visible or iconified frames. 112another frame). ALL-FRAMES 0 means count all windows in all
113If ALL-FRAMES is anything else, count only the selected frame." 113visible or iconified frames on the current terminal. If
114ALL-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
169ALL-FRAMES t means cycle through all windows on all existing 170ALL-FRAMES t means cycle through all windows on all existing
170 frames. 171 frames.
171ALL-FRAMES `visible' means cycle through all windows on all 172ALL-FRAMES `visible' means cycle through all windows on all
172 visible frames. 173 visible frames on the current terminal.
173ALL-FRAMES 0 means cycle through all windows on all visible and 174ALL-FRAMES 0 means cycle through all windows on all visible and
174 iconified frames. 175 iconified frames on the current terminal.
175ALL-FRAMES a frame means cycle through all windows on that frame 176ALL-FRAMES a frame means cycle through all windows on that frame
176 only. 177 only.
177Anything else means cycle through all windows on the selected 178Anything else means cycle through all windows on the selected
@@ -1067,9 +1068,11 @@ when the specified buffer is already displayed. If the buffer is
1067already displayed in some window on one of these frames simply 1068already displayed in some window on one of these frames simply
1068return that window. Possible values of FRAME are: 1069return 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
1072terminal.
1071 1073
10720 - consider windows on all visible or iconified frames. 10740 - consider windows on all visible or iconified frames on the
1075current terminal.
1073 1076
1074t - consider windows on all frames. 1077t - consider windows on all frames.
1075 1078
@@ -1079,7 +1082,7 @@ nil - consider windows on the selected frame \(actually the
1079last non-minibuffer frame\) only. If, however, either 1082last 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),
1082consider all visible or iconified frames." 1085consider 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