summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.el b/init.el
index c67cdd0..aafe329 100644
--- a/init.el
+++ b/init.el
@@ -1,6 +1,6 @@
;; Please no custom file
-(setq custom-file "~/.emacs.d/emacs-custom.el")
-(load custom-file)
+(setq custom-file (locate-user-emacs-file "emacs-custom.el")
+(load custom-file 'noerror 'nomessage)
;; Start maximized
(add-to-list 'default-frame-alist '(fullscreen . maximized))