Skip to content

Commit

Permalink
coq/generic: display empty strings in diagnostic messages
Browse files Browse the repository at this point in the history
... for the argument lists of background processes started by PG
  • Loading branch information
hendriktews committed Nov 21, 2024
1 parent 8401163 commit 31dd682
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion coq/coq-par-compile.el
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,8 @@ file to be deleted when the process does not finish successfully."
(when coq--debug-auto-compilation
(message "%s %s: start %s %s in %s"
(get job 'name) process-name
command (mapconcat #'identity arguments " ")
command
(mapconcat (lambda (a) (concat "\"" a "\"")) arguments " ")
default-directory))
(condition-case err
;; If the command is wrong, start-process aborts with an
Expand Down
4 changes: 3 additions & 1 deletion generic/proof-shell.el
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,9 @@ process command."
(append (split-string proof-rsh-command)
prog-name-list1)
prog-name-list1))
(prog-command-line (mapconcat 'identity prog-name-list " "))
(prog-command-line
(mapconcat (lambda (arg) (concat "\"" arg "\""))
prog-name-list " "))

(process-connection-type
proof-shell-process-connection-type)
Expand Down

0 comments on commit 31dd682

Please sign in to comment.