+2007-10-20 Eric S. Raymond <esr@snark.thyrsus.com>
+
+ * vc.el (vc-do-command): Condition out a misleading message when
+ running asynchronously.
+
2007-10-20 Jay Belanger <jay.p.belanger@gmail.com>
* calc/README: Add recent news.
(shrink-window-if-larger-than-buffer)
(error "Running %s...FAILED (%s)" full-command
(if (integerp status) (format "status %d" status) status))))
- ;; We're done
- (if vc-command-messages
+ ;; We're done. But don't emit a status message if running
+ ;; asychronously, it would just mislead.
+ (if (and vc-command-messages (not (eq okstatus 'async)))
(message "Running %s...OK = %d" full-command status)))
(vc-exec-after
`(run-hook-with-args 'vc-post-command-functions