summaryrefslogtreecommitdiffhomepage
path: root/lib/eos
diff options
context:
space:
mode:
Diffstat (limited to 'lib/eos')
-rw-r--r--lib/eos/jao-afio.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/eos/jao-afio.el b/lib/eos/jao-afio.el
index 37bb507..e0a2ee5 100644
--- a/lib/eos/jao-afio.el
+++ b/lib/eos/jao-afio.el
@@ -203,7 +203,8 @@
(when (setq reset (or reset (not f)))
(set-frame-name (format "W%s" (or (jao-afio-frame-no next) next)))))
(window-configuration-to-register (jao-afio--current-config))
- (when (and (not reset) (get-register next)) (jump-to-register next)))
+ (when (and (not reset) (get-register next)) (jump-to-register next))
+ (setq reset (or reset (not (get-register next)))))
(jao-afio--current-config next)
(unless (eq current next) (setq jao-afio--previous-config current))
(when reset (jao-afio-reset))