Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
172a9c1f
Commit
172a9c1f
authored
Oct 06, 1992
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fkill_buffer): Pass 2nd arg to Fother_buffer.
(Fswitch_to_buffer, Fpop_to_buffer, Fbury_buffer):
parent
9262fcb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/buffer.c
src/buffer.c
+4
-4
No files found.
src/buffer.c
View file @
172a9c1f
...
...
@@ -693,7 +693,7 @@ with `delete-process'.")
and give up if so. */
if
(
b
==
current_buffer
)
{
tem
=
Fother_buffer
(
buf
);
tem
=
Fother_buffer
(
buf
,
Qnil
);
Fset_buffer
(
tem
);
if
(
b
==
current_buffer
)
return
Qnil
;
...
...
@@ -797,7 +797,7 @@ the window-buffer correspondences.")
error
(
"Cannot switch buffers in a dedicated window"
);
if
(
NILP
(
bufname
))
buf
=
Fother_buffer
(
Fcurrent_buffer
());
buf
=
Fother_buffer
(
Fcurrent_buffer
()
,
Qnil
);
else
buf
=
Fget_buffer_create
(
bufname
);
Fset_buffer
(
buf
);
...
...
@@ -822,7 +822,7 @@ window even if BUFFER is already visible in the selected window.")
{
register
Lisp_Object
buf
;
if
(
NILP
(
bufname
))
buf
=
Fother_buffer
(
Fcurrent_buffer
());
buf
=
Fother_buffer
(
Fcurrent_buffer
()
,
Qnil
);
else
buf
=
Fget_buffer_create
(
bufname
);
Fset_buffer
(
buf
);
...
...
@@ -945,7 +945,7 @@ If BUFFER is omitted, the current buffer is buried.")
/* Remove it from the screen. */
if
(
EQ
(
buf
,
XWINDOW
(
selected_window
)
->
buffer
))
Fswitch_to_buffer
(
Fother_buffer
(
buf
),
Qnil
);
Fswitch_to_buffer
(
Fother_buffer
(
buf
,
Qnil
),
Qnil
);
/* Move it to the end of the buffer list. */
{
...
...
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