Silence `writegood-mode' in two cases

This commit is contained in:
Gerard Vermeulen 2024-06-12 13:58:19 +02:00
parent ee333ffd36
commit 0a1854bd44

View File

@ -5405,11 +5405,11 @@ Available versions: 0.2.0, 0.1.1, 0.1.0
This invokes an asynchronous process and finishes with a message."
(interactive)
(let ((command '("pip" "list" "--outdated" "--format" "json")))
(let ((content '("pip" "list" "--outdated" "--format" "json")))
(make-process
:name "pip-list-outdated"
:buffer (generate-new-buffer-name "*pip-list-outdated-output*")
:command command
:command content
:sentinel #'pip--list-outdated-sentinel)
(message "Running `%s' asynchronously" (string-join command " "))))
#+end_src
@ -5437,12 +5437,12 @@ buffer to check whether upgrading has made the dependencies incompatible."
(unless (member name pip-frozen-packages)
(push (format "%s==%s" name latest_version) found))))
(if (consp found)
(let ((command
(let ((content
`("pip" "install" "--progress-bar" "off" ,@(nreverse found))))
(make-process
:name "pip-upgrade-maybe"
:buffer (generate-new-buffer-name "*pip-upgrade-maybe*")
:command command
:command content
:sentinel #'pip--upgrade-maybe-sentinel)
(message "Running `%s' asynchronously" (string-join command " ")))
(message "`pip-upgrade-maybe' found no packages to install"))))