;;; init.el -*- lexical-binding: t; -*- ;; ;; Author: Henrik Lissner ;; URL: https://github.com/hlissner/doom-emacs ;; ;; ================= =============== =============== ======== ======== ;; \\ . . . . . . .\\ //. . . . . . .\\ //. . . . . . .\\ \\. . .\\// . . // ;; ||. . ._____. . .|| ||. . ._____. . .|| ||. . ._____. . .|| || . . .\/ . . .|| ;; || . .|| ||. . || || . .|| ||. . || || . .|| ||. . || ||. . . . . . . || ;; ||. . || || . .|| ||. . || || . .|| ||. . || || . .|| || . | . . . . .|| ;; || . .|| ||. _-|| ||-_ .|| ||. . || || . .|| ||. _-|| ||-_.|\ . . . . || ;; ||. . || ||-' || || `-|| || . .|| ||. . || ||-' || || `|\_ . .|. .|| ;; || . _|| || || || || ||_ . || || . _|| || || || |\ `-_/| . || ;; ||_-' || .|/ || || \|. || `-_|| ||_-' || .|/ || || | \ / |-_.|| ;; || ||_-' || || `-_|| || || ||_-' || || | \ / | `|| ;; || `' || || `' || || `' || || | \ / | || ;; || .===' `===. .==='.`===. .===' /==. | \/ | || ;; || .==' \_|-_ `===. .===' _|_ `===. .===' _-|/ `== \/ | || ;; || .==' _-' `-_ `=' _-' `-_ `=' _-' `-_ /| \/ | || ;; || .==' _-' '-__\._-' '-_./__-' `' |. /| | || ;; ||.==' _-' `' | /==.|| ;; ==' _-' \/ `== ;; \ _-' `-_ / ;; `'' ``' ;; ;; These demons are not part of GNU Emacs. ;; ;;; License: MIT ;; In the strange case that early-init.el wasn't loaded (e.g. you're using ;; Chemacs 1? Or you're loading this file directly?), we do it explicitly: (unless (boundp 'doom-version) (load (concat (file-name-directory load-file-name) "early-init") nil t)) ;; Ensure Doom's core libraries are properly initialized, autoloads file is ;; loaded, and hooks set up for an interactive session. (doom-initialize) ;; Now we load all enabled modules in the order dictated by your `doom!' block ;; in $DOOMDIR/init.el. `doom-initialize-modules' loads them (and hooks) in the ;; given order: ;; ;; $DOOMDIR/init.el ;; {$DOOMDIR,~/.emacs.d}/modules/*/*/init.el ;; `doom-before-init-modules-hook' ;; {$DOOMDIR,~/.emacs.d}/modules/*/*/config.el ;; `doom-init-modules-hook' ;; $DOOMDIR/config.el ;; `doom-after-init-modules-hook' ;; `after-init-hook' ;; `emacs-startup-hook' ;; `doom-init-ui-hook' ;; `window-setup-hook' ;; ;; And then we're good to go! (doom-initialize-modules)