* vc.el (vc-start-entry): Don't call file-name-nondirectory on
FILE before passing it to vc-mode-line. Everyplace else passes vc-mode-line full filenames, and vc-mode-line now needs the real file name to decide which version-control system the file is under.
This commit is contained in:
parent
fc593b0589
commit
cf50f71757
1 changed files with 1 additions and 1 deletions
|
@ -513,7 +513,7 @@ lock steals will raise an error."
|
|||
(set (make-local-variable 'vc-parent-buffer) parent)
|
||||
(set (make-local-variable 'vc-parent-buffer-name)
|
||||
(concat " from " (buffer-name vc-parent-buffer)))
|
||||
(vc-mode-line (if file (file-name-nondirectory file) " (no file)"))
|
||||
(vc-mode-line (or file " (no file)"))
|
||||
(vc-log-mode)
|
||||
(setq vc-log-operation action)
|
||||
(setq vc-log-file file)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue