summaryrefslogtreecommitdiff
path: root/lisp/frame.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-08-11 06:02:05 +0000
committerRichard M. Stallman <rms@gnu.org>1993-08-11 06:02:05 +0000
commit915cfd1f4df26c37c1062fa069a991ceffcee81a (patch)
tree1ad5e105862cc4558742393b6f7b0a281d567678 /lisp/frame.el
parent19bd42363e7d03a67667a0d55e7d1524caae7776 (diff)
downloademacs-915cfd1f4df26c37c1062fa069a991ceffcee81a.tar.gz
(other-frame): Fix error in loop counting.
Diffstat (limited to 'lisp/frame.el')
-rw-r--r--lisp/frame.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/frame.el b/lisp/frame.el
index b915f945b97..4e7581e3b76 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -366,7 +366,7 @@ A negative ARG moves in the opposite order."
(setq frame (previous-frame frame))
(while (not (eq (frame-visible-p frame) t))
(setq frame (previous-frame frame)))
- (setq arg (1- arg)))
+ (setq arg (1+ arg)))
(raise-frame frame)
(select-frame frame)))