From 4bd5061ca56d32bf539446ea877eb098c05a6d5b Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Wed, 26 Dec 2018 18:35:33 -0500 Subject: [PATCH] [emacs] require use-package when debugging --- init.org | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/init.org b/init.org index c256b7f..7b8e220 100644 --- a/init.org +++ b/init.org @@ -256,11 +256,13 @@ and without compromising on performance. #+begin_src emacs-lisp (straight-use-package 'use-package) -(if nil ; set to t when need to debug init - (setq use-package-verbose t - use-package-expand-minimally nil - use-package-compute-statistics t - debug-on-error t) +(if nil ; set to t when need to debug init + (progn + (setq use-package-verbose t + use-package-expand-minimally nil + use-package-compute-statistics t + debug-on-error t) + (require 'use-package)) (setq use-package-verbose nil use-package-expand-minimally t)) -- 2.20.1