move loading of custom.el to the beginning

This commit is contained in:
2020-12-05 21:36:25 +01:00
parent a6e2395755
commit 496165b346
3 changed files with 6 additions and 7 deletions

View File

@@ -51,5 +51,11 @@ Both Win32 and Cygwin count.")
(if (require 'dbus) (dbus-ping :session "org.freedesktop.Notifications"))) ;; is not enough
"Check if DBus is available.")
(use-package cus-edit
:config
(setq custom-file (concat user-emacs-directory "custom.el"))
(setq custom-buffer-done-kill t)
(load custom-file t t))
(provide 'pre-settings)
;;; pre-settings.el ends here