This a simple recipe to reproduce the problem:
- emacs -Q
- M-x toggle-debug-on-error
- M-x vc-delete-file
- Select a file under a Git-versioned directory on your system (i.e.,
not a remote one)
After hitting RET I see:
Debugger entered--Lisp error: (wrong-type-argument stringp 47)
find-file-name-handler(47 file-remote-p)
file-remote-p(47 localname)
file-local-name(47)
vc-git--literal-pathspec(47)
vc-git--literal-pathspecs("/home/manuel/.emacs.d/.mc-lists.el")
vc-git-delete-file("/home/manuel/.emacs.d/.mc-lists.el")