Only use-package benchmark when use-package exists

This commit is contained in:
2016-08-15 11:28:30 -07:00
parent d126e35be2
commit c45c82e460

View File

@@ -58,8 +58,9 @@ dotfiles repo but they are shared across machines elsewhere.
This appears here so that it can accurately benchmark as much of 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