dotfiles/.emacs.d/init.el
2025-05-19 00:08:33 +02:00

30 lines
1.1 KiB
EmacsLisp

;;; init.el -*- lexical-binding: t; -*-
;; Copyright © 2025 caem
;; Author: caem <me@caem.dev>
;; URL: https://git.caem.dev/caem/dotfiles
;; Commentary:
;; This is a stub init file to load the actual init file of my emacs
;; configuration.
;;
;; The reason they're seperated is that this allows me to have
;; emacs think that my configuration resides in the ~/.emacs.d directory when in
;; reality all my files are located in ~/.config/emacs. This prevents all the
;; 9 million different things that want to write to my configuration directory
;; from actually writing in my configuration directory. All other ways, even
;; chaning the user-emacs-directory and setting up no-littering are not remotely
;; enough to prevent stuff shitting all over my configuration directory so this
;; is esentially my last resort.
;;
;; I would've much preferred to place this in to
;; ~/.local/share/emacs instead but it's unfortunately not possible so it has to
;; reside in ~/.emacs.d due to load priorities inside of emacs.
;; Code:
(load (expand-file-name "emacs/init.el" (xdg-config-home)))
;;; init.el ends here