diff options
| author | Eli Zaretskii | 2008-10-18 20:23:30 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2008-10-18 20:23:30 +0000 |
| commit | da86d54b4c387f78d19eedbee8ded54385a0d60a (patch) | |
| tree | c1ca2cfc983a5911af98647fce310506201469bb | |
| parent | 2ee797be40149143d64cb3f8637798c99e07129a (diff) | |
| download | emacs-da86d54b4c387f78d19eedbee8ded54385a0d60a.tar.gz emacs-da86d54b4c387f78d19eedbee8ded54385a0d60a.zip | |
(Choosing Window, Displaying Buffers): Fix last changes.
| -rw-r--r-- | doc/lispref/windows.texi | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi index 35bf8bdd0db..4316c1eaa55 100644 --- a/doc/lispref/windows.texi +++ b/doc/lispref/windows.texi | |||
| @@ -895,16 +895,16 @@ unless @var{norecord} is non-@code{nil}. | |||
| 895 | @end defun | 895 | @end defun |
| 896 | 896 | ||
| 897 | @deffn Command replace-buffer-in-windows buffer-or-name | 897 | @deffn Command replace-buffer-in-windows buffer-or-name |
| 898 | This function replaces @var{buffer-or-name} with some other buffer in | 898 | This function replaces @var{buffer-or-name} in all windows displaying |
| 899 | all windows displaying it. It chooses the other buffer with | 899 | it with some other buffer. It uses @code{other-buffer} to choose the |
| 900 | @code{other-buffer}. In the usual applications of this function, you | 900 | other buffer. In the usual applications of this function, you |
| 901 | don't care which other buffer is used; you just want to make sure that | 901 | don't care which other buffer is used; you just want to make sure that |
| 902 | @var{buffer-or-name} is no longer displayed. | 902 | @var{buffer-or-name} is no longer displayed. |
| 903 | 903 | ||
| 904 | If a window displaying @var{buffer-or-name} is dedicated and the window | 904 | If the window displaying @var{buffer-or-name} is dedicated, and |
| 905 | is not the only window on its frame, that window is deleted. If the | 905 | is not the only window on its frame, that window is deleted. If that |
| 906 | window is the only window on its frame and there are other frames left, | 906 | window is the only window on its frame and there are other frames left, |
| 907 | the window's frame is deleted too. If there are no other frames left, | 907 | the window's frame is deleted as well. If there are no other frames left, |
| 908 | some other buffer is displayed in that window. | 908 | some other buffer is displayed in that window. |
| 909 | 909 | ||
| 910 | This function returns @code{nil}. | 910 | This function returns @code{nil}. |
| @@ -1184,19 +1184,19 @@ described above. | |||
| 1184 | 1184 | ||
| 1185 | @c Emacs 19 feature | 1185 | @c Emacs 19 feature |
| 1186 | @cindex dedicated window | 1186 | @cindex dedicated window |
| 1187 | A window can be marked as ``dedicated'' to its buffer. Then | 1187 | A window can be marked as @dfn{dedicated} to its buffer. Then |
| 1188 | @code{display-buffer} will not try to use that window to display any | 1188 | @code{display-buffer} will not try to use that window to display any |
| 1189 | other buffer. @code{set-window-buffer} will throw an error when asked | 1189 | other buffer. @code{set-window-buffer} will signal an error when asked |
| 1190 | to display another buffer in it. Both, @code{get-lru-window} and | 1190 | to display another buffer in it. Both @code{get-lru-window} and |
| 1191 | @code{get-largest-window} do not consider dedicated windows as | 1191 | @code{get-largest-window} do not consider dedicated windows as |
| 1192 | candidates when their @var{dedicated} argument is non-@code{nil}. | 1192 | candidates when their @var{dedicated} argument is non-@code{nil}. |
| 1193 | 1193 | ||
| 1194 | When @code{delete-windows-on} deletes a dedicated window and that window | 1194 | When @code{delete-windows-on} deletes a dedicated window and that window |
| 1195 | is the only window on its frame, it will delete that frame as well when | 1195 | is the only window on its frame, it will delete that frame as well if |
| 1196 | there are other frames left. @code{replace-buffer-in-windows} deletes | 1196 | there are other frames left. @code{replace-buffer-in-windows} deletes |
| 1197 | any dedicated window showing its buffer argument. When such a window is | 1197 | any dedicated window showing its buffer argument. When such a window is |
| 1198 | the only window on its frame, that frame is deleted too when there are | 1198 | the only window on its frame, that frame is deleted if there are other |
| 1199 | other frames left. | 1199 | frames left. |
| 1200 | 1200 | ||
| 1201 | @defun window-dedicated-p &optional window | 1201 | @defun window-dedicated-p &optional window |
| 1202 | This function returns non-@code{nil} if @var{window} is marked as | 1202 | This function returns non-@code{nil} if @var{window} is marked as |