summaryrefslogtreecommitdiff
path: root/lispref/windows.texi
diff options
context:
space:
mode:
Diffstat (limited to 'lispref/windows.texi')
-rw-r--r--lispref/windows.texi11
1 files changed, 1 insertions, 10 deletions
diff --git a/lispref/windows.texi b/lispref/windows.texi
index 8589f3cdbfa..36c9fb02a39 100644
--- a/lispref/windows.texi
+++ b/lispref/windows.texi
@@ -643,7 +643,7 @@ The functions described there are easier to use than these, but they
employ heuristics in choosing or creating a window; use these functions
when you need complete control.
-@defun set-window-buffer window buffer-or-name &optional keep-margins
+@defun set-window-buffer window buffer-or-name
This function makes @var{window} display @var{buffer-or-name} as its
contents. It returns @code{nil}. This is the fundamental primitive
for changing which buffer is displayed in a window, and all ways
@@ -655,11 +655,6 @@ of doing that call this function.
@result{} nil
@end group
@end example
-
-Normally, displaying @var{buffer} in @var{window} resets the window's
-fringe widths and position based on the local variables of @var{buffer}.
-However, if @var{keep-margins} is non-@code{nil}, the fringe widths and
-position of @var{window} remain unchanged. @xref{Fringes}.
@end defun
@defun window-buffer &optional window
@@ -2207,7 +2202,3 @@ changing the sizes of windows, or displaying a different buffer in a
window. The frame whose window configuration has changed is the
selected frame when this hook runs.
@end defvar
-
-@ignore
- arch-tag: 3f6c36e8-df49-4986-b757-417feed88be3
-@end ignore