Created
December 15, 2015 11:27
-
-
Save wiredfool/36d728c481b10da492c8 to your computer and use it in GitHub Desktop.
Make M-x grep work with Emacs/Windows when Babun is installed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Make M-x grep work with Emacs/Windows when Babun is installed | |
;; Put in your .emacs file. | |
(when (string-equal system-type "window-nt") | |
(progn | |
(setq babun-bin (concat (getenv "HOMEDRIVE") (getenv "HOMEPATH") "\\.babun\\cygwin\\bin") | |
(setenv "PATH" (concat (getenv "PATH") ";" babun-bin)) | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment