From c45c82e4605268199a080d676264298db6bdbe7b Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 15 Aug 2016 11:28:30 -0700 Subject: [PATCH] Only use-package benchmark when use-package exists --- dotfiles/emacs.d/README.org | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index ac28a3ba..3bb68b63 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -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 startup as possible. #+BEGIN_SRC emacs-lisp -(defvar imalison:do-benchmark) -(when (bound-and-true-p imalison:do-benchmark) - (use-package benchmark-init)) + (defvar imalison:do-benchmark) + (when (and (boundp 'use-package) + (bound-and-true-p imalison:do-benchmark)) + (use-package benchmark-init)) #+END_SRC ** GUI Disables Death to any gui elements in emacs! Do this EARLY so that emacs