changeset 12393:7d4615a12286

(vc-start-entry): Prevent lossage when doing a mass checkin from a VC-dired buffer (Andre Spiegel's code change was slightly wrong).
author Richard M. Stallman <rms@gnu.org>
date Mon, 26 Jun 1995 23:42:30 +0000
parents 76541e773672
children 4fbc70e4d5e7
files lisp/vc.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc.el	Mon Jun 26 23:20:05 1995 +0000
+++ b/lisp/vc.el	Mon Jun 26 23:42:30 1995 +0000
@@ -706,7 +706,7 @@
     (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