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
;;; Code:
;; early-init spacemacs-theme
;; 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
;; 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")
(concat (file-name-directory (file-truename (or load-file-name "~/.config/emacs/init")))
"early-init.el")
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
;; emacs -l ~/.config/emacs/init -l /tmp/org-export-processXYZ
(require 'pre-settings) ;; use-package delight functions variables
(require 'which-key-settings) ;; https://melpa.org/#/which-key
(require 'general-settings) ;; requires which-key