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
a569dbc3
Commit
a569dbc3
authored
Aug 03, 1993
by
Roland McGrath
Browse files
(other-frame): Skip iconified and invisible frames.
parent
0e18d8ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
lisp/frame.el
lisp/frame.el
+9
-6
No files found.
lisp/frame.el
View file @
a569dbc3
...
...
@@ -351,19 +351,22 @@ the user during startup."
(
defun
other-frame
(
arg
)
"Select the ARG'th different
frame, deiconify
and raise it.
"Select the ARG'th different
visible frame,
and raise it.
All frames are arranged in a cyclic order.
This command selects the frame ARG steps away in that order.
A negative ARG moves in the opposite order."
(
interactive
"p"
)
(
let
((
frame
(
selected-frame
)))
(
while
(
>
arg
0
)
(
setq
frame
(
next-frame
frame
)
arg
(
1-
arg
)))
(
setq
frame
(
next-frame
frame
))
(
while
(
not
(
eq
(
frame-visible-p
frame
)
t
))
(
setq
frame
(
next-frame
frame
)))
(
setq
arg
(
1-
arg
)))
(
while
(
<
arg
0
)
(
setq
frame
(
previous-frame
frame
)
arg
(
1-
arg
)))
(
make-frame-visible
frame
)
(
setq
frame
(
previous-frame
frame
))
(
while
(
not
(
eq
(
frame-visible-p
frame
)
t
))
(
setq
frame
(
previous-frame
frame
)))
(
setq
arg
(
1-
arg
)))
(
raise-frame
frame
)
(
select-frame
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