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

@ -58,9 +58,10 @@ 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)
(use-package benchmark-init)) (bound-and-true-p imalison:do-benchmark))
(use-package benchmark-init))
#+END_SRC #+END_SRC
** GUI Disables ** GUI Disables
Death to any gui elements in emacs! Do this EARLY so that emacs Death to any gui elements in emacs! Do this EARLY so that emacs