diff options
Diffstat (limited to 'lib/eos')
-rw-r--r-- | lib/eos/jao-afio.el | 2 | ||||
-rw-r--r-- | lib/eos/jao-tracking.el | 3 |
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)))) |