master 637d6cf08e2: ; * lisp/vc/vc-dir.el (vc-dir): Return to calling 'vc-dir-mode'.

Sean Whitton <[email protected]> Tue, 7 Jul 2026 06:37:47 -0400 (EDT)
Newsgroups gmane.emacs.diffs
Message-ID <[email protected]>
branch: master
commit 637d6cf08e2f2169ab163fb7fdb02b1f480120f3
Author: Sean Whitton <[email protected]>
Commit: Sean Whitton <[email protected]>

    ; * lisp/vc/vc-dir.el (vc-dir): Return to calling 'vc-dir-mode'.
---
 lisp/vc/vc-dir.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/vc/vc-dir.el b/lisp/vc/vc-dir.el
index d39af2d6c43..ff019bbbb8d 100644
--- a/lisp/vc/vc-dir.el
+++ b/lisp/vc/vc-dir.el
@@ -2011,7 +2011,7 @@ These are the commands available for use in the file status buffer:
       (vc-dir-refresh)
     ;; FIXME: find a better way to pass the backend to `vc-dir-mode'.
     (let ((use-vc-backend backend))
-      (vc-call-backend backend 'dir-mode)
+      (vc-dir-mode)
       ;; Activate the backend-specific minor mode, if any.
       (when-let* ((minor-mode
                    (intern-soft (format "vc-dir-%s-mode"