proper use-package for exec-path from shell.

This commit is contained in:
Ivan Malison 2014-12-06 12:48:22 -08:00
parent ae9f45d196
commit d9c0190c1f

View File

@ -86,7 +86,7 @@
(use-package package :ensure t)) packages)) (use-package package :ensure t)) packages))
(defvar packages-eager (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 xclip dired+ ctags ctags-update aggressive-indent imenu+ neotree diminish
gist)) gist))
@ -359,9 +359,6 @@ The current directory is assumed to be the project's root otherwise."
;; General Emacs Options ;; 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 ;; This makes it so that emacs --daemon puts its files in ~/.emacs.d/server
(setq server-use-tcp t) (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)) (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 (use-package load-dir
:ensure t :ensure t
:config :config