* lisp/progmodes/project.el (project--vc-list-files): Use
file-name-as-directory, to be on the safe side.
(defun project--vc-list-files (dir backend extra-ignores)
(pcase backend
(`Git
- (let ((default-directory dir)
+ (let ((default-directory (file-name-as-directory dir))
(args '("-z")))
;; Include unregistered.
(setq args (append args '("-c" "-o" "--exclude-standard")))
(apply #'vc-git--run-command-string nil "ls-files" args)
"\0" t))))
(`Hg
- (let ((default-directory dir)
+ (let ((default-directory (file-name-as-directory dir))
args
files)
;; Include unregistered.