diff options
author | jao <jao@gnu.org> | 2022-10-03 02:31:21 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-10-03 02:33:52 +0100 |
commit | dac7518995e756ad7b96f276c0f26f249937d2bc (patch) | |
tree | bfa6a9bf6f1c0257a54086c94f87796e40f0d483 /lib | |
parent | 9f5b3250d26f1b45ed4bddfa95e6e128e42a9da7 (diff) | |
download | elibs-dac7518995e756ad7b96f276c0f26f249937d2bc.tar.gz elibs-dac7518995e756ad7b96f276c0f26f249937d2bc.tar.bz2 |
afio: don't bail out if buffer went away
Diffstat (limited to 'lib')
-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)) |