-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathinit.el
45 lines (39 loc) · 1.85 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
;; helper function
(defun my-add-subdirs-to-load-path (dir)
(let ((default-directory (concat dir "/")))
(setq load-path (cons dir load-path))
(normal-top-level-add-subdirs-to-load-path)))
(my-add-subdirs-to-load-path "~/.emacs.d/vendor")
(setq
jde-jdk (quote ("1.6"))
jde-compiler (quote ("javac" ""))
jde-jdk-registry (quote (("1.6" . "/usr/lib/jvm/java-6-openjdk")))
jde-sourcepath (quote ("$JAVA_HOME/src" "." "./src" ""))
jde-compile-option-debug (quote ("all" (t nil nil)))
)
;; confluence
(setq confluence-url "http://192.168.208.186/wiki/rpc/xmlrpc")
(setq confluence-default-space-alist (list (cons confluence-url "fost")))
;; 机器相关的设置放在my-custom.el
(load "~/.emacs.d/my-custom.el")
(mapc 'load (directory-files "~/.emacs.d/config/01base" t "\.el$"))
(mapc 'load (directory-files "~/.emacs.d/config/02advedit" t "\.el$"))
(mapc 'load (directory-files "~/.emacs.d/config/20languages" t "\.el$"))
(mapc 'load (directory-files "~/.emacs.d/config/50webdev" t "\.el$"))
(mapc 'load (directory-files "~/.emacs.d/config/70emacsonrails" t "\.el$"))
(mapc 'load (directory-files "~/.emacs.d/config/85authoring" t "\.el$"))
(mapc 'load (directory-files "~/.emacs.d/config/99post" t "\.el$"))
(put 'downcase-region 'disabled nil)
;; (custom-set-variables
;; ;; custom-set-variables was added by Custom.
;; ;; If you edit it by hand, you could mess it up, so be careful.
;; ;; Your init file should contain only one such instance.
;; ;; If there is more than one, they won't work right.
;; '(org-agenda-files (quote ("~/Dropbox/org/personal.org" "~/Dropbox/org/sdo.org" "~/Dropbox/org/todo.org")))
;; )
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)