Files
emacs-dotfiles/pre-early-init.el
Vladislav Slobodenyuk 25a624f074 Update gitignore.
It turns out, gitignore was configured to ignore the pre- and post- init files.
Those same files contain quite a lot of useful setup that are unique to the
dotfiles in this repo.
2025-01-23 10:43:01 +09:00

9 lines
429 B
EmacsLisp

;;; pre-early-init.el --- This file is loaded before early-init.el. -*- no-byte-compile: t; lexical-binding: t; -*-
;; Reducing clutter in ~/.emacs.d by redirecting files to ~/emacs.d/var/
(setq minimal-emacs-var-dir (expand-file-name "var/" minimal-emacs-user-directory))
(setq package-user-dir (expand-file-name "elpa" minimal-emacs-var-dir))
(setq user-emacs-directory minimal-emacs-var-dir)
;;; pre-early-init.el ends here