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
;; This assumes that Cygwin is installed in C:\cygwin (the | |
;; default) and that C:\cygwin\bin is not already in your | |
;; Windows Path (it generally should not be). | |
(setq exec-path (cons "C:/cygwin/bin" exec-path)) | |
(setenv "PATH" (concat "C:\\cygwin\\bin;" (getenv "PATH"))) | |
;; Prevent issues with the Windows null device (NUL) | |
;; when using cygwin find with rgrep. | |
(defadvice grep-compute-defaults (around grep-compute-defaults-advice-null-device) | |
"Use cygwin's /dev/null as the null-device." |
NewerOlder