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
c6e73093
Commit
c6e73093
authored
Apr 13, 1994
by
Karl Heuer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fnext_window, Fprevious_window, Fdisplay_buffer): Test MULTI_FRAME when
handling argument `all_frames'.
parent
dfa89228
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
src/window.c
src/window.c
+8
-0
No files found.
src/window.c
View file @
c6e73093
...
...
@@ -869,6 +869,7 @@ DEFUN ("next-window", Fnext_window, Snext_window, 0, 3, 0,
if
(
NILP
(
minibuf
))
minibuf
=
(
minibuf_level
?
Qt
:
Qlambda
);
#ifdef MULTI_FRAME
/* all_frames == nil doesn't specify which frames to include.
Decide which frames it includes. */
if
(
NILP
(
all_frames
))
...
...
@@ -885,6 +886,7 @@ DEFUN ("next-window", Fnext_window, Snext_window, 0, 3, 0,
/* Now all_frames is t meaning search all frames,
nil meaning search just current frame,
or a window, meaning search the frame that window belongs to. */
#endif
/* Do this loop at least once, to get the next window, and perhaps
again, if we hit the minibuffer and that is not acceptable. */
...
...
@@ -986,6 +988,7 @@ DEFUN ("previous-window", Fprevious_window, Sprevious_window, 0, 3, 0,
if
(
NILP
(
minibuf
))
minibuf
=
(
minibuf_level
?
Qt
:
Qlambda
);
#ifdef MULTI_FRAME
/* all_frames == nil doesn't specify which frames to include.
Decide which frames it includes. */
if
(
NILP
(
all_frames
))
...
...
@@ -1002,6 +1005,7 @@ DEFUN ("previous-window", Fprevious_window, Sprevious_window, 0, 3, 0,
/* Now all_frames is t meaning search all frames,
nil meaning search just current frame,
or a window, meaning search the frame that window belongs to. */
#endif
/* Do this loop at least once, to get the previous window, and perhaps
again, if we hit the minibuffer and that is not acceptable. */
...
...
@@ -1707,9 +1711,13 @@ Returns the window displaying BUFFER.")
&&
XBUFFER
(
XWINDOW
(
selected_window
)
->
buffer
)
==
XBUFFER
(
buffer
))
return
selected_window
;
#ifdef MULTI_FRAME
/* If pop_up_frames,
look for a window showing BUFFER on any visible frame. */
window
=
Fget_buffer_window
(
buffer
,
pop_up_frames
?
Qvisible
:
Qnil
);
#else
window
=
Fget_buffer_window
(
buffer
,
Qnil
);
#endif
if
(
!
NILP
(
window
)
&&
(
NILP
(
not_this_window
)
||
!
EQ
(
window
,
selected_window
)))
return
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