Only use-package benchmark when use-package exists

This commit is contained in:
Ivan Malison 2016-08-15 11:28:30 -07:00
parent d126e35be2
commit c45c82e460
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -59,7 +59,8 @@ This appears here so that it can accurately benchmark as much of
startup as possible. startup as possible.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(defvar imalison:do-benchmark) (defvar imalison:do-benchmark)
(when (bound-and-true-p imalison:do-benchmark) (when (and (boundp 'use-package)
(bound-and-true-p imalison:do-benchmark))
(use-package benchmark-init)) (use-package benchmark-init))
#+END_SRC #+END_SRC
** GUI Disables ** GUI Disables