Created
February 8, 2014 16:08
-
-
Save vermiculus/8885981 to your computer and use it in GitHub Desktop.
This file contains 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
;; File: windows-setup.el | |
;; Author: Sean Allred | |
;; Date: Sat Feb 8 10:43:52 EST 2014 | |
;; Description:: | |
;; Minimal setup file for new users of Emacs on Windows. | |
;; Set variables as appropriate. | |
(let* ((username "Sean") | |
(start-directory (format "C:/Users/%s/Documents" username))) | |
(setq default-directory start-directory)) | |
(let ((setup-type 'mingw) ; set to 'cygwin as appropriate | |
(mingw-path "C:\\MinGW\\bin") | |
(cygwin-path "C:\\cygwin64\\bin")) | |
(setenv "PATH" | |
(concat (getenv "PATH") | |
path-separator | |
(if (eq setup-type 'mingw) mingw-path | |
(if (eq setup-type 'cygwin) cygwin-path))))) | |
(define-key c-mode-map (kbd "C-c c") 'compile) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment