diff options
author | Alan Pearce | 2023-04-01 18:06:33 +0200 |
---|---|---|
committer | Alan Pearce | 2023-04-01 18:06:33 +0200 |
commit | 5c31e2ef01c78e4c3201fb0464891963f097ebeb (patch) | |
tree | b613c6de8cd22f515cdc32574d899b9f8d02a584 /user/emacs | |
parent | 1b4e4f88abbbf1ed908ce511b36eb9769a8c0c41 (diff) | |
download | nixfiles-5c31e2ef01c78e4c3201fb0464891963f097ebeb.tar.lz nixfiles-5c31e2ef01c78e4c3201fb0464891963f097ebeb.tar.zst nixfiles-5c31e2ef01c78e4c3201fb0464891963f097ebeb.zip |
emacs: generate PATH at build time
Diffstat (limited to 'user/emacs')
-rw-r--r-- | user/emacs/init.el | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 7083e58f..f64bb226 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -25,23 +25,6 @@ (setq use-package-expand-minimally t)) (setq use-package-always-demand (daemonp)) -(defvar ap/path-configured nil) -(when (and (eq system-type 'darwin) - (not ap/path-configured)) - (setq exec-path - (delete-dups - (append - (parse-colon-path - (setenv "PATH" - (elt (split-string-and-unquote - (with-output-to-string - (with-current-buffer standard-output - (call-process "/usr/libexec/path_helper" nil t nil "-s"))) - "[=;]") - 1))) - exec-path)) - ap/path-configured t)) - ;;; Customize (setq custom-file (expand-file-name "custom.el" user-emacs-directory)) |