mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-05 03:39:38 +00:00
Don't compute the verbose debug text unless it's requested
This commit is contained in:
parent
e8a7ae1ea1
commit
ce36e68817
1 changed files with 14 additions and 12 deletions
|
@ -1364,6 +1364,7 @@ no keyword implies `:all'."
|
|||
(defmacro use-package-core (name args)
|
||||
`(let* ((args* (use-package-normalize-keywords ,name ,args))
|
||||
(use-package--form
|
||||
(if (eq use-package-verbose 'debug)
|
||||
(concat "\n\n"
|
||||
(pp-to-string `(use-package ,name ,@,args))
|
||||
"\n -->\n\n"
|
||||
|
@ -1375,7 +1376,8 @@ no keyword implies `:all'."
|
|||
(use-package-expand-minimally t))
|
||||
(use-package-process-keywords name args*
|
||||
(and (plist-get args* :demand)
|
||||
(list :demand t)))))))))
|
||||
(list :demand t)))))))
|
||||
"")))
|
||||
(use-package-process-keywords name args*
|
||||
(and (plist-get args* :demand)
|
||||
(list :demand t)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue