aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorMartin Rudalics2012-11-03 11:47:03 +0100
committerMartin Rudalics2012-11-03 11:47:03 +0100
commit43bcfda6d863c6172eeba2d6aa22d22453849423 (patch)
tree8482396f0a59b18e3b1db40c36e91e35a7078d38 /lisp
parent67b50ba47bcf46bd8a699fa0c1f2af1cce3f2338 (diff)
downloademacs-43bcfda6d863c6172eeba2d6aa22d22453849423.tar.gz
emacs-43bcfda6d863c6172eeba2d6aa22d22453849423.zip
Doc changes related to displaying buffers and quitting windows.
* window.el (switch-to-visible-buffer) (switch-to-buffer-preserve-window-point): Fix doc-strings. * windows.texi (Switching Buffers): Document option switch-to-buffer-preserve-window-point. (Display Action Functions): Document window-height and window-width alist entries. (Display Action Functions): Document display-buffer-below-selected and display-buffer-in-previous-window. (Quitting Windows): Document quit-restore-window. Rewrite section. (Window Configurations): In window-state-get mention that argument window must be valid. (Window Parameters): Document quit-restore window parameter (Bug#12158).
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/window.el13
2 files changed, 12 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ab73a61d9e6..1b560651abb 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12012-11-03 Martin Rudalics <rudalics@gmx.at>
2
3 * window.el (switch-to-visible-buffer)
4 (switch-to-buffer-preserve-window-point): Fix doc-strings.
5
12012-11-01 Stephen Berman <stephen.berman@gmx.net> 62012-11-01 Stephen Berman <stephen.berman@gmx.net>
2 7
3 * play/gomoku.el (gomoku-display-statistics): Update mode line 8 * play/gomoku.el (gomoku-display-statistics): Update mode line
diff --git a/lisp/window.el b/lisp/window.el
index 10f75d44d69..be6ddf8ab9e 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -3091,10 +3091,11 @@ before was current this also makes BUFFER the current buffer."
3091 "If non-nil, allow switching to an already visible buffer. 3091 "If non-nil, allow switching to an already visible buffer.
3092If this variable is non-nil, `switch-to-prev-buffer' and 3092If this variable is non-nil, `switch-to-prev-buffer' and
3093`switch-to-next-buffer' may switch to an already visible buffer 3093`switch-to-next-buffer' may switch to an already visible buffer
3094provided the buffer was shown in the argument window before. If 3094provided the buffer was shown before in the window specified as
3095this variable is nil, `switch-to-prev-buffer' and 3095argument to those functions. If this variable is nil,
3096`switch-to-next-buffer' always try to avoid switching to a buffer 3096`switch-to-prev-buffer' and `switch-to-next-buffer' always try to
3097that is already visible in another window on the same frame." 3097avoid switching to a buffer that is already visible in another
3098window on the same frame."
3098 :type 'boolean 3099 :type 'boolean
3099 :version "24.1" 3100 :version "24.1"
3100 :group 'windows) 3101 :group 'windows)
@@ -5855,8 +5856,8 @@ window on any visible or iconified frame. If this is t, it
5855unconditionally tries to display the buffer at its previous 5856unconditionally tries to display the buffer at its previous
5856position in the selected window. 5857position in the selected window.
5857 5858
5858This variable is ignored if the the buffer is already displayed 5859This variable is ignored if the buffer is already displayed in
5859in the selected window or never appeared in it before, or if 5860the selected window or never appeared in it before, or if
5860`switch-to-buffer' calls `pop-to-buffer' to display the buffer." 5861`switch-to-buffer' calls `pop-to-buffer' to display the buffer."
5861 :type '(choice 5862 :type '(choice
5862 (const :tag "Never" nil) 5863 (const :tag "Never" nil)