summaryrefslogtreecommitdiff
path: root/emacs/custom
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/custom')
-rw-r--r--emacs/custom/my-settings.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/emacs/custom/my-settings.el b/emacs/custom/my-settings.el
index 5ff81d1..e6c1ce9 100644
--- a/emacs/custom/my-settings.el
+++ b/emacs/custom/my-settings.el
@@ -53,14 +53,14 @@
(customize-set-variable 'save-place-forget-unreadable-files t)
(add-hook 'after-init-hook #'save-place-mode)
+(when (memq window-system '(mac ns))
+ (require 'exec-path-from-shell)
+ (exec-path-from-shell-initialize))
+
(unless (and (fboundp 'server-running-p)
(server-running-p))
(server-start))
-(when (memq window-system '(mas ns))
- (require 'exec-path-from-shell)
- (add-hook 'emacs-startup-hook (lambda () (exec-path-from-shell-initialize))))
-
(require 'yasnippet)
;; I want the snippets under `etc'