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

@@ -971,7 +971,6 @@ used as a communication channel."
(use-package org-drill ;; requires persist https://elpa.gnu.org/packages/persist.html
:commands org-drill)
;; define `org-brain-path' in custom.
(use-package org-brain ;; uses org-id If you find that org-brain is missing entries, or list entries which doesnt exist, try using M-x org-brain-update-id-locations, which syncs the org-brain entries with the org-id caching system.
:commands (org-brain-visualize)
:init

View File

@@ -3,11 +3,5 @@
;;; Code:
(setq gc-cons-threshold (* 2 1000 1000)) ;; Make gc pauses faster by decreasing back the threshold. See also above.
(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 'post-settings)
;;; post-settings.el ends here

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