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
ab9f008d
Commit
ab9f008d
authored
Mar 23, 1994
by
Karl Heuer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(next_frame, prev_frame, other_visible_frames, Fdelete_frame): Use assignment,
not initialization.
parent
a57bc488
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
src/frame.c
src/frame.c
+10
-5
No files found.
src/frame.c
View file @
ab9f008d
...
...
@@ -527,8 +527,9 @@ next_frame (frame, minibuf)
while
(
1
)
for
(
tail
=
Vframe_list
;
CONSP
(
tail
);
tail
=
XCONS
(
tail
)
->
cdr
)
{
Lisp_Object
f
=
XCONS
(
tail
)
->
car
;
Lisp_Object
f
;
f
=
XCONS
(
tail
)
->
car
;
if
(
passed
)
{
/* Decide whether this frame is eligible to be returned. */
...
...
@@ -586,8 +587,9 @@ prev_frame (frame, minibuf)
prev
=
Qnil
;
for
(
tail
=
Vframe_list
;
CONSP
(
tail
);
tail
=
XCONS
(
tail
)
->
cdr
)
{
Lisp_Object
f
=
XCONS
(
tail
)
->
car
;
Lisp_Object
f
;
f
=
XCONS
(
tail
)
->
car
;
if
(
XTYPE
(
f
)
!=
Lisp_Frame
)
abort
();
...
...
@@ -692,8 +694,9 @@ other_visible_frames (f)
CONSP
(
frames
);
frames
=
XCONS
(
frames
)
->
cdr
)
{
Lisp_Object
this
=
XCONS
(
frames
)
->
car
;
Lisp_Object
this
;
this
=
XCONS
(
frames
)
->
car
;
/* Verify that the frame's window still exists
and we can still talk to it. And note any recent change
in visibility. */
...
...
@@ -829,14 +832,16 @@ but if the second optional argument FORCE is non-nil, you may do so.")
Lisp_Object
frames
;
/* The last frame we saw with a minibuffer, minibuffer-only or not. */
Lisp_Object
frame_with_minibuf
=
Qnil
;
Lisp_Object
frame_with_minibuf
;
frame_with_minibuf
=
Qnil
;
for
(
frames
=
Vframe_list
;
CONSP
(
frames
);
frames
=
XCONS
(
frames
)
->
cdr
)
{
Lisp_Object
this
=
XCONS
(
frames
)
->
car
;
Lisp_Object
this
;
this
=
XCONS
(
frames
)
->
car
;
if
(
XTYPE
(
this
)
!=
Lisp_Frame
)
abort
();
f
=
XFRAME
(
this
);
...
...
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