mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 12:31:25 +00:00
* lisp/progmodes/project.el (project-vc-dir): Add clarifying comment.
This commit is contained in:
parent
87133286d6
commit
568a435af9
1 changed files with 4 additions and 0 deletions
|
|
@ -1610,6 +1610,10 @@ The current buffer's `default-directory' is available as part of
|
|||
;;;###autoload
|
||||
(defun project-vc-dir ()
|
||||
"Run VC-Dir in the current project's root."
|
||||
;; This is unfortunately inconsistent with `vc-dir' which calls
|
||||
;; `file-truename' on the directory. But following symlink results in
|
||||
;; "mismatched" project for that buffer and any visited from it. See
|
||||
;; <https://lists.gnu.org/archive/html/emacs-devel/2026-06/msg00196.html>.
|
||||
(interactive)
|
||||
(vc-dir (project-root (project-current t))))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue