summaryrefslogtreecommitdiffhomepage
path: root/lib/eos
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-08-30 00:53:21 +0100
committerjao <jao@gnu.org>2022-08-30 00:53:21 +0100
commitcccf4658ed4e9f900477698fb19af37634093059 (patch)
treed38f2f2e9129f16d286960e7a872062c4c94d7a8 /lib/eos
parent3433b1ad85fdd23c18d11d899754633a035e7483 (diff)
downloadelibs-cccf4658ed4e9f900477698fb19af37634093059.tar.gz
elibs-cccf4658ed4e9f900477698fb19af37634093059.tar.bz2
wee tweaks
Diffstat (limited to 'lib/eos')
-rw-r--r--lib/eos/jao-afio.el2
-rw-r--r--lib/eos/jao-tracking.el3
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/eos/jao-afio.el b/lib/eos/jao-afio.el
index f57838a..0f1ae43 100644
--- a/lib/eos/jao-afio.el
+++ b/lib/eos/jao-afio.el
@@ -56,7 +56,7 @@
(let ((jao-doc-session-inhibit-save t))
(dolist (doc (or docs (jao-doc-session)))
(when (file-exists-p doc)
- (jao-open-doc doc)
+ (if (jao-pdf-is-pdf-file doc) (jao-open-doc doc) (find-file doc))
(other-window 1)))
(other-window 1)))
diff --git a/lib/eos/jao-tracking.el b/lib/eos/jao-tracking.el
index badffae..cf64c89 100644
--- a/lib/eos/jao-tracking.el
+++ b/lib/eos/jao-tracking.el
@@ -133,7 +133,8 @@
(unless (eq 0 n) (setq jao-tracking--start-frame n))
(cond (tracking-buffers
(let ((b (car tracking-buffers)))
- (if (eq 0 n) (tracking-next-buffer)
+ (if (eq 0 n)
+ (tracking-next-buffer)
(jao-afio--goto-scratch)
(when b (pop-to-buffer b))
(tracking-remove-visible-buffers))))