summaryrefslogtreecommitdiffhomepage
path: root/lib/eos
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-02-02 03:55:09 +0000
committerjao <jao@gnu.org>2022-02-02 03:55:09 +0000
commit8cf74411f518adb440bcc8cb9bbfdee5d5cdff9b (patch)
tree635e7fa900f4ef81dfff10f29fb8fe3a4c651d7d /lib/eos
parente80a2fef9627c95186ac2068cc58f082b6ca0729 (diff)
downloadelibs-8cf74411f518adb440bcc8cb9bbfdee5d5cdff9b.tar.gz
elibs-8cf74411f518adb440bcc8cb9bbfdee5d5cdff9b.tar.bz2
open doc session alternating windows
Diffstat (limited to 'lib/eos')
-rw-r--r--lib/eos/jao-afio.el4
1 files changed, 3 insertions, 1 deletions
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)