Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
12cae7c0
Commit
12cae7c0
authored
Mar 25, 1994
by
Karl Heuer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(unshow_buffer, window_loop, Fdisplay_buffer): Use assignment, not
initialization.
parent
3814ccf5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
src/window.c
src/window.c
+9
-5
No files found.
src/window.c
View file @
12cae7c0
...
...
@@ -615,8 +615,9 @@ static
unshow_buffer
(
w
)
register
struct
window
*
w
;
{
Lisp_Object
buf
=
w
->
buffer
;
Lisp_Object
buf
;
buf
=
w
->
buffer
;
if
(
XBUFFER
(
buf
)
!=
XMARKER
(
w
->
pointm
)
->
buffer
)
abort
();
...
...
@@ -1219,7 +1220,8 @@ window_loop (type, obj, mini, frames)
on the frame, find a new buffer to display there. */
if
(
NILP
(
XWINDOW
(
w
)
->
parent
))
{
Lisp_Object
new_buffer
=
Fother_buffer
(
obj
,
Qnil
);
Lisp_Object
new_buffer
;
new_buffer
=
Fother_buffer
(
obj
,
Qnil
);
if
(
NILP
(
new_buffer
))
new_buffer
=
Fget_buffer_create
(
build_string
(
"*scratch*"
));
...
...
@@ -1252,7 +1254,8 @@ window_loop (type, obj, mini, frames)
if
(
EQ
(
XWINDOW
(
w
)
->
buffer
,
obj
))
{
/* Find another buffer to show in this window. */
Lisp_Object
another_buffer
=
Fother_buffer
(
obj
,
Qnil
);
Lisp_Object
another_buffer
;
another_buffer
=
Fother_buffer
(
obj
,
Qnil
);
if
(
NILP
(
another_buffer
))
another_buffer
=
Fget_buffer_create
(
build_string
(
"*scratch*"
));
...
...
@@ -1735,8 +1738,9 @@ Returns the window displaying BUFFER.")
#endif
)
{
Lisp_Object
frames
=
Qnil
;
Lisp_Object
frames
;
frames
=
Qnil
;
#ifdef MULTI_FRAME
if
(
FRAME_MINIBUF_ONLY_P
(
selected_frame
))
XSET
(
frames
,
Lisp_Frame
,
last_nonminibuf_frame
);
...
...
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