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
commite088def52d8c3fa1c1bee91ea1212f880779f1de (patch)
tree5a58d4bcc02935c63be52838375a18b873916338 /lisp/frame.el
parentffd25f9360e902378bbc20604a51e5186280e8b8 (diff)
downloademacs-e088def52d8c3fa1c1bee91ea1212f880779f1de.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)))