summary refs log tree commit diff
path: root/emacs.d/init.el
blob: aa020ac44f82495c0c8ee1cf7c02ef374ece3c2e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
;; If this is not commented, Emacs will overwrite this configuration file
;; on load time.
;; (package-initialize)

(defun emacs-lib (filename)
  (expand-file-name (concat "lib" "/" filename) user-emacs-directory))

(load (emacs-lib "settings.el"))
(load (emacs-lib "funcs.el"))
(load (emacs-lib "bindings.el"))

(when (>= emacs-major-version 24)
  (load (emacs-lib "packages.el"))
  (load (emacs-lib "org.el"))
  (load (emacs-lib "twitter.el") 'missing-ok))

(add-hook 'emacs-startup-hook #'fc/load-time)