summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-05-24 15:10:51 +0200
committerAlan Pearce2017-05-24 15:10:51 +0200
commiteae9dacbdb09ca1b0274a23d0ebe97a5a3235db7 (patch)
treea15cd7a65ea4247e19ec8dcb9a9af9d8c736ba56 /emacs
parent3dbb464cc6c70bcc43caf53c4460c253801f687a (diff)
downloadnixfiles-eae9dacbdb09ca1b0274a23d0ebe97a5a3235db7.tar.lz
nixfiles-eae9dacbdb09ca1b0274a23d0ebe97a5a3235db7.tar.zst
nixfiles-eae9dacbdb09ca1b0274a23d0ebe97a5a3235db7.zip
Emacs: Fix exec-path warning
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org4
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index f4d1b6e8..6392f5cf 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -387,7 +387,9 @@ variables from whatever my shell configuration is.
 #+BEGIN_SRC emacs-lisp
 (use-package exec-path-from-shell
   :if (eq system-type 'darwin)
-  :config (exec-path-from-shell-initialize))
+  :config (progn
+            (setq exec-path-from-shell-arguments '("-l"))
+            (exec-path-from-shell-initialize)))
 #+END_SRC
 
 * Keybindings