Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
6ab4745b
Commit
6ab4745b
authored
Aug 06, 2003
by
Richard M. Stallman
Browse files
(Buffers and Windows): set-window-buffer has new arg.
parent
5c646a2d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
lispref/windows.texi
lispref/windows.texi
+6
-1
No files found.
lispref/windows.texi
View file @
6ab4745b
...
...
@@ -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
@defun set-window-buffer window buffer-or-name
&optional keep-margins
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,6 +655,11 @@ 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment