From 4a4c421f10daf139460b436695cef85c220551d4 Mon Sep 17 00:00:00 2001 From: Simon Parri Date: Wed, 1 Oct 2025 11:15:36 -0500 Subject: Emacs/Eshell: Pass `noerror' to `vc-responsible-backend' --- common/.emacs.d/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/.emacs.d') diff --git a/common/.emacs.d/init.el b/common/.emacs.d/init.el index 1cc30a8..1aebc7b 100644 --- a/common/.emacs.d/init.el +++ b/common/.emacs.d/init.el @@ -2577,7 +2577,7 @@ Only works on a single file." (if-let* ((dir (or dir (eshell/pwd))) (prj (project-current nil dir)) (dir (project-root prj)) - (vc (vc-responsible-backend dir))) + (vc (vc-responsible-backend dir 'noerror))) (let* ((dirty (if (my/vc-dirty-p dir) "*" "")) -- cgit v1.2.3