From 1d2c3cb5bbce3273f8b9a4ea7807da83462ade94 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Thu, 9 Apr 2026 16:22:39 +0100 Subject: [PATCH] * lisp/vc/vc.el (vc-checkin): Don't assume vc-dir is loaded. --- lisp/vc/vc.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el index 5c1d0354f7d..fe1b9108636 100644 --- a/lisp/vc/vc.el +++ b/lisp/vc/vc.el @@ -2230,7 +2230,8 @@ have changed; continue with old fileset?" (current-buffer)))) (dolist (file files) (let ((file (expand-file-name file))) (vc-file-setprop file 'display-state "committing") - (vc-dir-resynch-file file) + (when (featurep 'vc-dir) + (vc-dir-resynch-file file)) (push file to-remove-props))) (vc-exec-after #'remove-props-done-msg nil proc)) ret)