aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/init-utils.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp/init-utils.el')
-rw-r--r--.emacs.d/lisp/init-utils.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-utils.el b/.emacs.d/lisp/init-utils.el
index dd3713d..d244084 100644
--- a/.emacs.d/lisp/init-utils.el
+++ b/.emacs.d/lisp/init-utils.el
@@ -1,10 +1,12 @@
(defun gx/diminish (mode &optional to-what)
(when (gx/maybe-require-package 'diminish)
+ (require 'diminish)
(diminish mode to-what)))
(setq exec-path-from-shell-arguments '("-l"))
(when (gx/maybe-require-package 'exec-path-from-shell)
(when (memq window-system '(mac ns))
+ (require 'exec-path-from-shell)
(exec-path-from-shell-initialize)))
(provide 'init-utils)