diff options
author | David Morgan <djm_uk@protonmail.com> | 2022-08-30 16:14:05 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2022-08-30 16:14:05 +0100 |
commit | 05c45adfdeedb374b4d62f0205f7586ef7deef78 (patch) | |
tree | 5cd55414e49a5d4d55cb63b30689dcf33ad1daae | |
parent | cabfe526c382a5a1852ef36a193234f202c5ef4b (diff) | |
download | dotfiles-05c45adfdeedb374b4d62f0205f7586ef7deef78.tar.gz |
Use use-package's :if
-rw-r--r-- | .emacs.d/lisp/init-misc.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.emacs.d/lisp/init-misc.el b/.emacs.d/lisp/init-misc.el index 83b1634..e82cf89 100644 --- a/.emacs.d/lisp/init-misc.el +++ b/.emacs.d/lisp/init-misc.el @@ -3,11 +3,11 @@ ;;; Code: (use-package exec-path-from-shell + :if (memq window-system '(mac ns)) :custom (exec-path-from-shell-arguments '("-l")) :config - (when (memq window-system '(mac ns)) - (exec-path-from-shell-initialize))) + (exec-path-from-shell-initialize)) (use-package envrc :diminish |