summaryrefslogtreecommitdiffhomepage
path: root/lib/eos
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-09-16 02:47:53 +0100
committerjao <jao@gnu.org>2022-09-16 02:47:53 +0100
commit87af94ca96f02384c270f8f30684693e8aee7e0a (patch)
tree3760cefb55931b9162c98ab47fd63fd9d2d27f29 /lib/eos
parent9b1ffa61e7d232cc530f8456dafa775641d819f1 (diff)
downloadelibs-87af94ca96f02384c270f8f30684693e8aee7e0a.tar.gz
elibs-87af94ca96f02384c270f8f30684693e8aee7e0a.tar.bz2
jao-afio: initialisation in no-noframes
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))