diff options
-rw-r--r-- | lib/eos/jao-afio.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/eos/jao-afio.el b/lib/eos/jao-afio.el index 0fc84e2..d022ef1 100644 --- a/lib/eos/jao-afio.el +++ b/lib/eos/jao-afio.el @@ -202,9 +202,11 @@ (let ((f (jao-afio--find-frame next))) (select-frame-set-input-focus (or f (make-frame))) (when (setq reset (or reset (not f))) - (set-frame-name (format "W%s" (or (jao-afio-frame-no next) next))))) + (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)) + (ignore-errors (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)) |