changeset 33553:840460ecad6f

(vc-do-command): In the asynchronous case, output messages only if the minibuffer is not active.
author André Spiegel <spiegel@gnu.org>
date Thu, 16 Nov 2000 16:40:59 +0000
parents 82d0163f6fb7
children 8cc4c4ff3f88
files lisp/vc.el
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc.el	Thu Nov 16 16:10:09 2000 +0000
+++ b/lisp/vc.el	Thu Nov 16 16:40:59 2000 +0000
@@ -5,7 +5,7 @@
 ;; Author:     FSF (see below for full credits)
 ;; Maintainer: Andre Spiegel <spiegel@gnu.org>
 
-;; $Id: vc.el,v 1.286 2000/11/16 13:39:10 spiegel Exp $
+;; $Id: vc.el,v 1.287 2000/11/16 15:26:37 spiegel Exp $
 
 ;; This file is part of GNU Emacs.
 
@@ -641,11 +641,13 @@
 	(if (eq okstatus 'async)
 	    (let ((proc (apply 'start-process command (current-buffer) command
 			       squeezed)))
-	      (message "Running %s in the background..." command)
+              (unless (active-minibuffer-window)
+                (message "Running %s in the background..." command))
 	      ;;(set-process-sentinel proc (lambda (p msg) (delete-process p)))
 	      (set-process-filter proc 'vc-process-filter)
 	      (vc-exec-after
-	       `(message "Running %s in the background... done" ',command)))
+	       `(unless (active-minibuffer-window)
+                  (message "Running %s in the background... done" ',command))))
 	  (setq status (apply 'call-process command nil t nil squeezed))
 	  (when (or (not (integerp status)) (and okstatus (< okstatus status)))
 	    (pop-to-buffer (current-buffer))