From: Sean Whitton Date: Sun, 20 Apr 2025 01:40:12 +0000 (+0800) Subject: vc-user-edit-command: Add trailing space to initial input X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a9e9f637f9c46b4fc541962811912c7659ba5141;p=emacs.git vc-user-edit-command: Add trailing space to initial input * lisp/vc/vc-dispatcher.el (vc-user-edit-command): Add trailing space to initial input to ease adding additional flags. (cherry picked from commit 45232485aef3e44e9106f605ecf155de8f707edb) --- diff --git a/lisp/vc/vc-dispatcher.el b/lisp/vc/vc-dispatcher.el index b644a048630..7e9e6091ff7 100644 --- a/lisp/vc/vc-dispatcher.el +++ b/lisp/vc/vc-dispatcher.el @@ -328,10 +328,11 @@ Intended to be used as the value of `vc-filter-command-function'." (if file-or-list " (files list to be appended)" "")) - (combine-and-quote-strings - (cons command (remq nil (if files-separator-p - (butlast flags) - flags)))))))) + (concat (combine-and-quote-strings + (cons command (remq nil (if files-separator-p + (butlast flags) + flags)))) + " "))))) (list (car edited) file-or-list (nconc (cdr edited) (and files-separator-p '("--"))))))