From e32ad586c2f284d6e38cff3b82449a6e32ce1563 Mon Sep 17 00:00:00 2001 From: Judy Date: Mon, 24 Jul 2023 22:02:30 +0200 Subject: [PATCH] Use file-directory-p to probe crafted-emacs-home Co-authored-by: Jeff Bowman --- docs/crafted-docs.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/crafted-docs.el b/docs/crafted-docs.el index 3dc1032..239b354 100644 --- a/docs/crafted-docs.el +++ b/docs/crafted-docs.el @@ -73,7 +73,7 @@ Export output is written to the *crafted-docs-export* buffer." (cond ((file-exists-p "./crafted-docs.el") ".") ((and crafted-docs-export-use-crafted-emacs-home (boundp 'crafted-emacs-home) - (file-exists-p crafted-emacs-home)) + (file-directory-p crafted-emacs-home)) (expand-file-name "docs/" crafted-emacs-home)) (t (read-directory-name "Crafted Emacs docs-directory: ")))))