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 235aa54..99152b0 100644
--- a/lib/eos/jao-afio.el
+++ b/lib/eos/jao-afio.el
@@ -72,7 +72,7 @@
(defun jao-afio-open-pdf-session (&optional docs)
(interactive)
(dolist (doc (or docs (jao-doc-session)))
- (when (and doc (file-exists-p doc))
+ (when (and (stringp doc) (file-exists-p doc))
(if (jao-pdf-is-pdf-file doc) (jao-open-doc doc) (find-file doc))
(other-window 1)))
(other-window 1))