aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-07-25 22:16:54 +0200
committerGravatar Tom Willemse2016-07-25 22:16:54 +0200
commitce2bede1301c495d29bb0210d0bda93fe8c49181 (patch)
tree8726d3b3026ebdf8466e81f5fc50eaaa27444cc9
parentb80cd3cd4dfeb5b52fe7b38681040ee8b25be8bb (diff)
downloadnew-dotfiles-ce2bede1301c495d29bb0210d0bda93fe8c49181.tar.gz
new-dotfiles-ce2bede1301c495d29bb0210d0bda93fe8c49181.zip
Store customize settings in a separate file
-rw-r--r--emacs/.emacs.d/init.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index 54b4e7d..92f94f2 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -224,5 +224,13 @@ This is currently the data directory under the
(ensure-package magit)
+;;;; Custom:
+
+;; Put the customize settings in a different file so that Emacs
+;; doesn't have to modify this file whenever something changes through
+;; customize.
+(setq custom-file (concat user-emacs-directory "custom.el"))
+(load custom-file)
+
(provide 'init)
;;; init.el ends here