From: Richard M. Stallman Date: Mon, 26 Jun 1995 23:42:30 +0000 (+0000) Subject: (vc-start-entry): Prevent lossage when doing a mass checkin from X-Git-Tag: emacs-19.34~3466 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7e8696590861bee6fb2f04b31e4dbd3f5e5ab61f;p=emacs.git (vc-start-entry): Prevent lossage when doing a mass checkin from a VC-dired buffer (Andre Spiegel's code change was slightly wrong). --- diff --git a/lisp/vc.el b/lisp/vc.el index 2629b9268e1..cc27216dd69 100644 --- a/lisp/vc.el +++ b/lisp/vc.el @@ -706,7 +706,7 @@ merge in the changes into your working copy." (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 (or file " (no file)")) + (if file (vc-mode-line file)) (vc-log-mode) (make-local-variable 'vc-log-after-operation-hook) (if after-hook