From 87af94ca96f02384c270f8f30684693e8aee7e0a Mon Sep 17 00:00:00 2001 From: jao Date: Fri, 16 Sep 2022 02:47:53 +0100 Subject: jao-afio: initialisation in no-noframes --- lib/eos/jao-afio.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) -- cgit v1.2.3