Commit e0752dd7 authored by Eric S. Raymond's avatar Eric S. Raymond
Browse files

Condition out a misleading message.

parent 437806ed
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.
......
......@@ -1070,8 +1070,9 @@ that is inserted into the command line before the filename."
(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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment