From e1d409fed5ba45d595d35ea1915a06aa1bdc6fef Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 27 Jan 1997 22:55:04 +0000 Subject: [PATCH] (comint-exec-1): Use file-accessible-directory-p. --- lisp/comint.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/comint.el b/lisp/comint.el index dfe240f156a..849345ef205 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -598,7 +598,7 @@ buffer. The hook `comint-exec-hook' is run after each exec." (if (getenv "EMACS") nil (list "EMACS=t")) process-environment)) (default-directory - (if (file-directory-p default-directory) + (if (file-accessible-directory-p default-directory) default-directory "/"))) (apply 'start-process name buffer command switches))) -- 2.39.2