aboutsummaryrefslogtreecommitdiffstats
path: root/init.el
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2019-05-15 20:27:44 -0500
committerJesús <heckyel@hyperbola.info>2019-05-15 20:27:44 -0500
commit9a96d719379c88e7442e69f10e59239c152a8082 (patch)
tree6004f730fec378f859319de56d2abe6c9944a2f3 /init.el
parentd6c8d5b36c6e539863a238c799b29eb135adec74 (diff)
downloademacs-personal-9a96d719379c88e7442e69f10e59239c152a8082.tar.lz
emacs-personal-9a96d719379c88e7442e69f10e59239c152a8082.tar.xz
emacs-personal-9a96d719379c88e7442e69f10e59239c152a8082.zip
refactoring
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