/
init.el
27 lines (19 loc) · 845 Bytes
/
init.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
25
26
27
;; require cl
(eval-when-compile (require 'cl))
;; create the history directory if not exists
;; since it is not versioned
(unless (file-exists-p "~/.emacs.d/history/")
(mkdir "~/.emacs.d/history/"))
;; set init file for custom settings
(setq custom-file "~/.emacs.d/custom.el")
(load-file custom-file)
;; general custom functions
(require 'my-defuns "~/.emacs.d/my-lisp/my-defuns.el")
;; add paths to the load-path
(add-to-load-path-with-subdirs (expand-file-name "~/.emacs.d/")
'(".." "." ".srecode" "auto-save-list"
"history" "my-backup-files" "eshell")
'("plugins" "my-lisp" "elpa"))
(add-to-list 'load-path "/usr/share/emacs/site-lisp/cedet/common")
(add-to-list 'load-path "/usr/share/emacs/site-lisp/auctex")
(require 'my-requires)