forked from rememberYou/.emacs.d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.el
41 lines (30 loc) · 1.39 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
;;; init.el --- GNU Emacs Configuration
;; Copyright (C) 2014 Terencio Agozzino
;; Author: Terencio Agozzino <[email protected]>
;; Created: February 16, 2014
;; Homepage: https://github.com/rememberYou/.emacs.d
;; Keywords: abbrev, convenience, faces, maint, outlines, vc
;; This program is free software. You can redistribute it and/or modify it under
;; the terms of the Do What The Fuck You Want To Public License, version 2 as
;; published by Sam Hocevar.
;;
;; This program is distributed in the hope that it will be useful, but WITHOUT
;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
;; FOR A PARTICULAR PURPOSE.
;;
;; You should have received a copy of the Do What The Fuck You Want To Public
;; License along with this program. If not, see http://www.wtfpl.net/.
;;; Commentary:
;; Following lines build the configuration code out of the config.el file.
;;; Code:
;; Make startup faster by reducing the frequency of garbage
;; collection.
(setq gc-cons-threshold (* 100 1024 1024))
(require 'package)
(package-initialize)
(if (file-exists-p (expand-file-name "config.el" user-emacs-directory))
(load-file (expand-file-name "config.el" user-emacs-directory))
(org-babel-load-file (expand-file-name "config.org" user-emacs-directory)))
;; Make gc pauses faster by decreasing the threshold.
(setq gc-cons-threshold (* 10 1000 1000))
;;; init.el ends here