Skip to content

Instantly share code, notes, and snippets.

@wiredfool
Created December 15, 2015 11:27
Show Gist options
  • Select an option

  • Save wiredfool/36d728c481b10da492c8 to your computer and use it in GitHub Desktop.

Select an option

Save wiredfool/36d728c481b10da492c8 to your computer and use it in GitHub Desktop.

Revisions

  1. wiredfool created this gist Dec 15, 2015.
    8 changes: 8 additions & 0 deletions .emacs
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    ;; 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))
    ))