Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (37 sloc) 1.14 KB
(setq custom-file "~/.emacs.d/customize") ; Change the customize-file location
(load custom-file) ; Be sure to load the customize-file
;; Add . emacs.d/ dir to load-path:
(add-to-list 'load-path "~/.emacs.d/")
(add-to-list 'load-path "~/.emacs.d/emacs-color-theme-solarized/")
(add-to-list 'load-path "~/.emacs.d/el-get/el-get")
(defun autocompile nil
"compile itself if ~/.emacs or ~/.emacs.d/init-*"
(require 'bytecomp)
((default-file (file)
(expand-file-name (concat default-directory file))))
(if (or
(string= (buffer-file-name) (default-file ".emacs"))
(when (buffer-file-name)
(byte-compile-file (buffer-file-name)))))
(add-hook 'after-save-hook 'autocompile)
(( init-files
(mapc 'load-library init-files))
;; Server mode
(server-mode t)
Something went wrong with that request. Please try again.