* lisp/vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.

This commit is contained in:
Stefan Monnier 2013-04-19 00:09:08 -04:00
parent adc3121366
commit 31dcede0c7
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
* vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
New faster Imenu implementation (bug#14058).

View file

@ -329,7 +329,9 @@ case, and the process object in the asynchronous case."
command squeezed))))
(when vc-command-messages
(message "Running %s in background..." full-command))
;;(set-process-sentinel proc (lambda (p msg) (delete-process p)))
;; Get rid of the default message insertion, in case we don't
;; set a sentinel explicitly.
(set-process-sentinel proc #'ignore)
(set-process-filter proc 'vc-process-filter)
(setq status proc)
(when vc-command-messages