From 8cf74411f518adb440bcc8cb9bbfdee5d5cdff9b Mon Sep 17 00:00:00 2001 From: jao Date: Wed, 2 Feb 2022 03:55:09 +0000 Subject: open doc session alternating windows --- lib/eos/jao-afio.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/eos') diff --git a/lib/eos/jao-afio.el b/lib/eos/jao-afio.el index 978dbc8..470981d 100644 --- a/lib/eos/jao-afio.el +++ b/lib/eos/jao-afio.el @@ -77,7 +77,9 @@ (let ((jao-doc-view-inhibit-session-save t)) (dolist (doc (jao-doc-view-session)) (when (and (file-exists-p doc) (y-or-n-p (format "Open %s? " doc))) - (jao-open-doc doc))))) + (jao-open-doc doc) + (other-window 1))) + (other-window 1))) (defun jao-afio-open-doc () (interactive) -- cgit v1.2.3