summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-11-28 03:40:58 +0000
committerjao <jao@gnu.org>2022-11-28 03:40:58 +0000
commitfdf11cf4c2436c13df57cdfc388608c4c02ad47d (patch)
tree7040bd2eaaf134de73940198fafa63d730753aa7
parent4c5879f102054e36747d7e76e05dd806bea5ea10 (diff)
downloadelibs-fdf11cf4c2436c13df57cdfc388608c4c02ad47d.tar.gz
elibs-fdf11cf4c2436c13df57cdfc388608c4c02ad47d.tar.bz2
afio: robustness nit
-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)))