Refactor how we indent straight's progress output
More work up front, less work in the trenches.
This commit is contained in:
parent
4f676bd218
commit
7a348f8784
3 changed files with 43 additions and 29 deletions
|
@ -182,6 +182,19 @@ missing) and shouldn't be deleted.")
|
|||
(print! (warn "%s is not a valid answer, try again.") answer))
|
||||
(funcall fn))))))
|
||||
|
||||
(defadvice! doom--straight-respect-print-indent-a (args)
|
||||
:filter-args #'straight-use-package
|
||||
(cl-destructuring-bind
|
||||
(melpa-style-recipe &optional no-clone no-build cause interactive)
|
||||
args
|
||||
(list melpa-style-recipe no-clone no-build
|
||||
(if (and (not cause)
|
||||
(boundp 'doom-format-indent)
|
||||
(> doom-format-indent 0))
|
||||
(make-string (1- (or doom-format-indent 1)) 32)
|
||||
cause)
|
||||
interactive)))
|
||||
|
||||
|
||||
;;
|
||||
;;; Bootstrapper
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue