summaryrefslogtreecommitdiff
path: root/lisp/use-package
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/use-package')
-rw-r--r--lisp/use-package/use-package-core.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/use-package/use-package-core.el b/lisp/use-package/use-package-core.el
index bd18c972303..a88efb91a21 100644
--- a/lisp/use-package/use-package-core.el
+++ b/lisp/use-package/use-package-core.el
@@ -989,10 +989,10 @@ The date is returned as a string."
(defun use-package-statistics-time (package)
"Return the time is took for PACKAGE to load."
- (+ (float-time (gethash :config-secs package 0))
- (float-time (gethash :init-secs package 0))
- (float-time (gethash :preface-secs package 0))
- (float-time (gethash :use-package-secs package 0))))
+ (+ (float-time (gethash :config-secs package '(0 0 0 0)))
+ (float-time (gethash :init-secs package '(0 0 0 0)))
+ (float-time (gethash :preface-secs package '(0 0 0 0)))
+ (float-time (gethash :use-package-secs package '(0 0 0 0)))))
(defun use-package-statistics-convert (package)
"Return information about PACKAGE.