aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/lispref/windows.texi24
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
898This function replaces @var{buffer-or-name} with some other buffer in 898This function replaces @var{buffer-or-name} in all windows displaying
899all windows displaying it. It chooses the other buffer with 899it with some other buffer. It uses @code{other-buffer} to choose the
900@code{other-buffer}. In the usual applications of this function, you 900other buffer. In the usual applications of this function, you
901don't care which other buffer is used; you just want to make sure that 901don'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
904If a window displaying @var{buffer-or-name} is dedicated and the window 904If the window displaying @var{buffer-or-name} is dedicated, and
905is not the only window on its frame, that window is deleted. If the 905is not the only window on its frame, that window is deleted. If that
906window is the only window on its frame and there are other frames left, 906window is the only window on its frame and there are other frames left,
907the window's frame is deleted too. If there are no other frames left, 907the window's frame is deleted as well. If there are no other frames left,
908some other buffer is displayed in that window. 908some other buffer is displayed in that window.
909 909
910This function returns @code{nil}. 910This 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
1187A window can be marked as ``dedicated'' to its buffer. Then 1187A 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
1189other buffer. @code{set-window-buffer} will throw an error when asked 1189other buffer. @code{set-window-buffer} will signal an error when asked
1190to display another buffer in it. Both, @code{get-lru-window} and 1190to 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
1192candidates when their @var{dedicated} argument is non-@code{nil}. 1192candidates when their @var{dedicated} argument is non-@code{nil}.
1193 1193
1194When @code{delete-windows-on} deletes a dedicated window and that window 1194When @code{delete-windows-on} deletes a dedicated window and that window
1195is the only window on its frame, it will delete that frame as well when 1195is the only window on its frame, it will delete that frame as well if
1196there are other frames left. @code{replace-buffer-in-windows} deletes 1196there are other frames left. @code{replace-buffer-in-windows} deletes
1197any dedicated window showing its buffer argument. When such a window is 1197any dedicated window showing its buffer argument. When such a window is
1198the only window on its frame, that frame is deleted too when there are 1198the only window on its frame, that frame is deleted if there are other
1199other frames left. 1199frames left.
1200 1200
1201@defun window-dedicated-p &optional window 1201@defun window-dedicated-p &optional window
1202This function returns non-@code{nil} if @var{window} is marked as 1202This function returns non-@code{nil} if @var{window} is marked as