# HG changeset patch # User Andr Spiegel # Date 974392859 0 # Node ID 840460ecad6fd6ddaa151d8b067becf7d284cd12 # Parent 82d0163f6fb7df9bb28ac4e98b11e787273f3f15 (vc-do-command): In the asynchronous case, output messages only if the minibuffer is not active. diff -r 82d0163f6fb7 -r 840460ecad6f lisp/vc.el --- 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 -;; $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))