aboutsummaryrefslogtreecommitdiffstats
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el17
1 files changed, 8 insertions, 9 deletions
diff --git a/init.el b/init.el
index 30c9cfa..b316a5b 100644
--- a/init.el
+++ b/init.el
@@ -53,15 +53,6 @@
(setq gc-cons-percentage 0.5)
(run-with-idle-timer 5 t #'garbage-collect))
-;;; Custom variables
-(setq custom-file (expand-file-name "custom.el" user-emacs-directory))
-;;; Custom settings
-(setq settings-file (expand-file-name "settings.el" user-emacs-directory))
-
-;;; Loads settings file
-(when (file-exists-p custom-file)
- (load settings-file))
-
;;;------------------------------
;;; Features
;;;------------------------------
@@ -120,10 +111,18 @@
(require 'init-web-mode)
(require 'init-dokuwiki))
+;;; Custom variables
+(setq custom-file (expand-file-name "custom.el" user-emacs-directory))
;;; Loads custom file
(when (file-exists-p custom-file)
(load custom-file))
+;;; Settings
+(setq settings-file (expand-file-name "settings.el" user-emacs-directory))
+;;; Loads settings file
+(when (file-exists-p custom-file)
+ (load settings-file))
+
(setq gc-cons-threshold best-gc-cons-threshold)
(when window-system