From fdf11cf4c2436c13df57cdfc388608c4c02ad47d Mon Sep 17 00:00:00 2001 From: jao Date: Mon, 28 Nov 2022 03:40:58 +0000 Subject: afio: robustness nit --- lib/eos/jao-afio.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) -- cgit v1.2.3