summaryrefslogtreecommitdiffhomepage
path: root/lib/eos/jao-afio.el
diff options
context:
space:
mode:
Diffstat (limited to 'lib/eos/jao-afio.el')
-rw-r--r--lib/eos/jao-afio.el2
1 files changed, 1 insertions, 1 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)))