mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-07 16:10:46 -08:00
vc-do-command: Don't print a spurious newline
* lisp/vc/vc-dispatcher.el (vc-do-command): Don't print a spurious newline. Don't omit the format string with 'message'. (Bug#79650)
This commit is contained in:
parent
c66680d001
commit
0b4079ddb6
1 changed files with 4 additions and 2 deletions
|
|
@ -469,9 +469,11 @@ case, and the process object in the asynchronous case."
|
|||
(pop-to-buffer (current-buffer))
|
||||
(goto-char (point-min))
|
||||
(shrink-window-if-larger-than-buffer))
|
||||
(when noninteractive
|
||||
(when-let* (noninteractive
|
||||
(out (string-trim (buffer-string)))
|
||||
(_ (not (string-empty-p out))))
|
||||
(with-current-buffer buffer
|
||||
(message (string-trim (buffer-string)))))
|
||||
(message "%s" out)))
|
||||
(error "Failed (%s): %s"
|
||||
(if (integerp status)
|
||||
(format "status %d" status)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue