diff options
| author | Martin Rudalics | 2012-11-03 11:47:03 +0100 |
|---|---|---|
| committer | Martin Rudalics | 2012-11-03 11:47:03 +0100 |
| commit | 43bcfda6d863c6172eeba2d6aa22d22453849423 (patch) | |
| tree | 8482396f0a59b18e3b1db40c36e91e35a7078d38 /lisp | |
| parent | 67b50ba47bcf46bd8a699fa0c1f2af1cce3f2338 (diff) | |
| download | emacs-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/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/window.el | 13 |
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 @@ | |||
| 1 | 2012-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 | |||
| 1 | 2012-11-01 Stephen Berman <stephen.berman@gmx.net> | 6 | 2012-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. |
| 3092 | If this variable is non-nil, `switch-to-prev-buffer' and | 3092 | If 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 |
| 3094 | provided the buffer was shown in the argument window before. If | 3094 | provided the buffer was shown before in the window specified as |
| 3095 | this variable is nil, `switch-to-prev-buffer' and | 3095 | argument 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 |
| 3097 | that is already visible in another window on the same frame." | 3097 | avoid switching to a buffer that is already visible in another |
| 3098 | window 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 | |||
| 5855 | unconditionally tries to display the buffer at its previous | 5856 | unconditionally tries to display the buffer at its previous |
| 5856 | position in the selected window. | 5857 | position in the selected window. |
| 5857 | 5858 | ||
| 5858 | This variable is ignored if the the buffer is already displayed | 5859 | This variable is ignored if the buffer is already displayed in |
| 5859 | in the selected window or never appeared in it before, or if | 5860 | the 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) |