fix(cli): shell-quote-argument: wrong-number-of-args error
shell-quote-argument's second argument was introduced in 29.1. Users on
older versions of Emacs will get an error.
Amend: d5bad5b430
This commit is contained in:
parent
b6b755dea4
commit
d6a3450917
1 changed files with 3 additions and 3 deletions
|
@ -810,10 +810,10 @@ However, in batch mode, print to stdout instead of stderr."
|
|||
;; explanation.
|
||||
(defadvice! doom-cli--straight-throw-error-on-no-branch-a (fn &rest args)
|
||||
:around #'straight--process-log
|
||||
(letf! ((defun shell-quote-argument (arg &optional posix)
|
||||
(when (null arg)
|
||||
(letf! ((defun shell-quote-argument (&rest args)
|
||||
(unless (car args)
|
||||
(error "Package was not properly cloned due to a connection failure, please try again later"))
|
||||
(funcall shell-quote-argument arg posix)))
|
||||
(apply shell-quote-argument args)))
|
||||
(apply fn args)))
|
||||
|
||||
(defadvice! doom-cli--straight-regurgitate-empty-string-error-a (fn &rest args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue