forked from gahag-config/dotemacs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgahag.el
29 lines (24 loc) · 956 Bytes
/
gahag.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
;; The .emacs should declare the following constants:
;;
;; dotemacs-dir - the directory of this file.
;; dotemacs-file - the path of this file, roughly (concat dotemacs-dir "gahag.el")
;; The following constants are optional, and
;; are only required by specific functions:
;;
;; ctags-program - the ctags executable
;; desktop-home - the parent directory to save desktops
(require 'cl)
;; Relax gc during init
(setq gc-cons-threshold 50000000)
(add-hook 'emacs-startup-hook (lambda () (setq gc-cons-threshold 800000)))
(cl-flet ((file-name-handler-alist nil) ; Dont run regexes on filenames.
(dotemacs (name) (concat dotemacs-dir name)))
(load (dotemacs "aliases.el"))
(load (dotemacs "auto-mode.el"))
(load (dotemacs "config.el"))
(load (dotemacs "defuns.el"))
(load (dotemacs "keys.el"))
(load (dotemacs "modes.el"))
(load (dotemacs "packages.el"))
(load (dotemacs "registers.el"))
(load (dotemacs "theming.el")))