Skip to content
Browse files

Remove my janky path fix in favor of exec-path-from-shell-initialize

  • Loading branch information...
1 parent 4303d36 commit 346979c31d101a44caf4c651f7c415560035a94d @genehack committed Feb 24, 2013
Showing with 2 additions and 18 deletions.
  1. +0 −15 etc/builtins.el
  2. +2 −3 init.el
View
15 etc/builtins.el
@@ -226,21 +226,6 @@ This is a buffer-local variable.")
(setq nxml-bind-meta-tab-to-complete-flag nil
nxml-syntax-highlight-flag t)
-;;; PATH MUNGE
-(defvar genehack/extra-paths '("/opt/local/bin"
- "/opt/git/bin"
- "/opt/perl/bin"
- "/usr/local/bin"
- )
- "extra elements to add to exec-path")
-(dolist (path genehack/extra-paths)
- (message path)
- (if (file-exists-p path)
- (progn
- (message "%s FOUND" path)
- (add-to-list 'exec-path path))))
-
-
;;; PAREN MATCH
(require 'paren)
(show-paren-mode t)
View
5 init.el
@@ -139,9 +139,8 @@
(setq genehack/packages-refreshed t)))
(package-install pkg))))
-;; PATH FIX FOR MACOS X
-(when (memq window-system '(mac ns))
- (exec-path-from-shell-initialize))
+;; MAKE EMACS PATH MATCH SHELL PATH
+(exec-path-from-shell-initialize)
;; MODULES
;;; All the rest of the config is split out into individual files, for

0 comments on commit 346979c

Please sign in to comment.
Something went wrong with that request. Please try again.