diff options
| author | Eric S. Raymond | 2007-10-20 16:34:44 +0000 |
|---|---|---|
| committer | Eric S. Raymond | 2007-10-20 16:34:44 +0000 |
| commit | e0752dd75b757ee2baab69798398af086359a74c (patch) | |
| tree | f4d8da05a46b70db07e9cde21548dbc228b07453 | |
| parent | 437806ed0bcd3d7abef3c7dfb035ee78471eb105 (diff) | |
| download | emacs-e0752dd75b757ee2baab69798398af086359a74c.tar.gz emacs-e0752dd75b757ee2baab69798398af086359a74c.zip | |
Condition out a misleading message.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/vc.el | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fe88e6604b1..1636bdba6a3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-10-20 Eric S. Raymond <esr@snark.thyrsus.com> | ||
| 2 | |||
| 3 | * vc.el (vc-do-command): Condition out a misleading message when | ||
| 4 | running asynchronously. | ||
| 5 | |||
| 1 | 2007-10-20 Jay Belanger <jay.p.belanger@gmail.com> | 6 | 2007-10-20 Jay Belanger <jay.p.belanger@gmail.com> |
| 2 | 7 | ||
| 3 | * calc/README: Add recent news. | 8 | * calc/README: Add recent news. |
diff --git a/lisp/vc.el b/lisp/vc.el index 09898aa98c1..36df6d1f5c3 100644 --- a/lisp/vc.el +++ b/lisp/vc.el | |||
| @@ -1070,8 +1070,9 @@ that is inserted into the command line before the filename." | |||
| 1070 | (shrink-window-if-larger-than-buffer) | 1070 | (shrink-window-if-larger-than-buffer) |
| 1071 | (error "Running %s...FAILED (%s)" full-command | 1071 | (error "Running %s...FAILED (%s)" full-command |
| 1072 | (if (integerp status) (format "status %d" status) status)))) | 1072 | (if (integerp status) (format "status %d" status) status)))) |
| 1073 | ;; We're done | 1073 | ;; We're done. But don't emit a status message if running |
| 1074 | (if vc-command-messages | 1074 | ;; asychronously, it would just mislead. |
| 1075 | (if (and vc-command-messages (not (eq okstatus 'async))) | ||
| 1075 | (message "Running %s...OK = %d" full-command status))) | 1076 | (message "Running %s...OK = %d" full-command status))) |
| 1076 | (vc-exec-after | 1077 | (vc-exec-after |
| 1077 | `(run-hook-with-args 'vc-post-command-functions | 1078 | `(run-hook-with-args 'vc-post-command-functions |