-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhere-env.el
24 lines (18 loc) · 911 Bytes
/
here-env.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
;; Are we 'modern'?
(setq modern (>= emacs-major-version 23))
(add-to-list 'load-path emacs-dir)
(setq site-lisp (format "%s/%s" emacs-dir "/site-lisp"))
(add-to-list 'load-path (concat emacs-dir "/zenburn"))
(add-to-list 'load-path (concat emacs-dir "/site-lisp/expand-region"))
(add-to-list 'load-path (concat emacs-dir "/site-lisp/elm-mode"))
(add-to-list 'load-path (concat emacs-dir "/site-lisp/f.el"))
(add-to-list 'load-path (concat emacs-dir "/site-lisp/dash.el"))
(add-to-list 'load-path (concat emacs-dir "/site-lisp/dockerfile-mode"))
(add-to-list 'load-path (concat emacs-dir "/site-lisp/exec-path-from-shell"))
(add-to-list 'load-path (concat emacs-dir "/hosts"))
(add-to-list 'load-path (concat emacs-dir "/hosts"))
(dolist
(project (directory-files (concat emacs-dir "/site-lisp") t "\\w+"))
(when (file-directory-p project)
(add-to-list 'load-path project)))
(provide 'here-env)