From cccf4658ed4e9f900477698fb19af37634093059 Mon Sep 17 00:00:00 2001 From: jao Date: Tue, 30 Aug 2022 00:53:21 +0100 Subject: wee tweaks --- lib/eos/jao-afio.el | 2 +- lib/eos/jao-tracking.el | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/eos') 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)))) -- cgit v1.2.3