This commit is contained in:
2025-06-30 11:33:48 +02:00
parent 30be552cc6
commit b9500a473b

23
init
View File

@@ -11,21 +11,18 @@
;; Requirements: git gnuplot ledger ;; Requirements: git gnuplot ledger
;;; Code: ;;; Code:
;; early-init spacemacs-theme ;; Load `early-init-el' if not already
(require 'early-init ;; - Emacs 27.1 introduced early-init.el, which is run before init.el,
(concat ;; before package and UI initialization happens, and before site
(file-name-directory (file-truename (or load-file-name ;; files are loaded. In the case that early-init.el wasn't loaded
"~/.config/emacs/init"))) ;; (e.g. using old emacs? Or this file directly loaded?), we do it
"early-init.el") ;; explicitly
t)
;; Load early-init-el if not already
;; - Emacs 27.1 introduced early-init.el, which is run before
;; init.el, before package and UI initialization happens, and
;; before site files are loaded. In the case that early-init.el
;; wasn't loaded (e.g. using old emacs? Or this file directly
;; loaded?), we do it explicitly
;; - for org export async actions, e.g. as in ;; - for org export async actions, e.g. as in
;; emacs -l ~/.config/emacs/init -l /tmp/org-export-processXYZ ;; emacs -l ~/.config/emacs/init -l /tmp/org-export-processXYZ
(require 'early-init
(concat (file-name-directory (file-truename (or load-file-name "~/.config/emacs/init")))
"early-init.el")
t)
(require 'pre-settings) ;; use-package delight functions variables (require 'pre-settings) ;; use-package delight functions variables
(require 'which-key-settings) ;; https://melpa.org/#/which-key (require 'which-key-settings) ;; https://melpa.org/#/which-key
(require 'general-settings) ;; requires which-key (require 'general-settings) ;; requires which-key