* 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:
Jim Blandy 1993-07-06 06:18:50 +00:00
parent fc593b0589
commit cf50f71757

View file

@ -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)