From ce2c837943004a9d6de260dc006628c6e9fbe578 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 6 Dec 2014 12:48:22 -0800 Subject: [PATCH] proper use-package for exec-path from shell. --- init.el | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/init.el b/init.el index 1abb30b9..c2156eec 100644 --- a/init.el +++ b/init.el @@ -86,7 +86,7 @@ (use-package package :ensure t)) packages)) (defvar packages-eager - '(popup auto-complete yasnippet cl-lib exec-path-from-shell paradox slime + '(popup auto-complete yasnippet cl-lib paradox slime xclip dired+ ctags ctags-update aggressive-indent imenu+ neotree diminish gist)) @@ -359,9 +359,6 @@ The current directory is assumed to be the project's root otherwise." ;; General Emacs Options ;; ============================================================================= -;; Set path from shell. -(exec-path-from-shell-initialize) - ;; This makes it so that emacs --daemon puts its files in ~/.emacs.d/server (setq server-use-tcp t) @@ -398,6 +395,11 @@ The current directory is assumed to be the project's root otherwise." (eval-after-load "subword-mode" '(diminish 'subword-mode)) +;; Set path from shell. +(use-package exec-path-from-shell + :ensure t + :config (exec-path-from-shell-initialize)) + (use-package load-dir :ensure t :config