summaryrefslogtreecommitdiff
path: root/.config/emacs/init.el
blob: 99fb0f4d1566e3fc649c3311d7a4eb63ddb2a3c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
;; -*- lexical-binding: t; -*-


;; reduce the frequency of garbage collection by making it happen on
;; each 50MB of allocated data (the default is on every 0.76MB)
(setopt gc-cons-threshold 50000000)

;;;; do not store customized setting (automatic) here
(setq custom-file "/home/bdunahu/.config/emacs/custom.el")
(load custom-file t)


;;;; files are not segregated but not self-contained
(load (expand-file-name "$HOME/.config/emacs/bd-default.el"))
(load (expand-file-name "$HOME/.config/emacs/bd-org.el"))
(load (expand-file-name "$HOME/.config/emacs/bd-emms.el"))
(load (expand-file-name "$HOME/.config/emacs/bd-development.el"))
(load (expand-file-name "$HOME/.config/emacs/bd-wm.el"))
(load (expand-file-name "$HOME/.config/emacs/bd-mode-and-themes.el"))

(setopt gc-cons-threshold 800000)