hotfix: load user configuration directory before lisp

This commit is contained in:
Muhammad Nauman Raza 2024-01-15 21:06:04 +00:00
parent dd99163646
commit 8ae5061319
No known key found for this signature in database
GPG key ID: 31BC90D626D2DBBE

10
init.el
View file

@ -58,6 +58,11 @@
:repo "devraza/hazakura-emacs")) :repo "devraza/hazakura-emacs"))
(load-theme 'hazakura t) (load-theme 'hazakura t)
;; Load user configuration
(add-to-list 'load-path (concat user-emacs-directory
(convert-standard-filename "../diancite/")))
(load "init")
;; Load the code of some external files ;; Load the code of some external files
(load "interface") (load "interface")
(load "editor") (load "editor")
@ -65,11 +70,6 @@
(load "keybinds") (load "keybinds")
(load "languages") (load "languages")
;; Load user configuration
(add-to-list 'load-path (concat user-emacs-directory
(convert-standard-filename "../diancite/")))
(load "init")
;; Make gc pauses faster by decreasing the threshold. ;; Make gc pauses faster by decreasing the threshold.
(setq gc-cons-threshold (* 2 1000 1000)) (setq gc-cons-threshold (* 2 1000 1000))