summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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 ac932aa..6a4b9c5 100644
--- a/lib/eos/jao-afio.el
+++ b/lib/eos/jao-afio.el
@@ -72,7 +72,7 @@
(interactive)
(let ((jao-doc-session-inhibit-save t))
(dolist (doc (or docs (jao-doc-session)))
- (when (file-exists-p doc)
+ (when (and 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)))