Files
sydnix/modules/home/users/crumb/emacs/modules/syd-custom.el
Madeleine Sydney Ślaga 0ea963c879 chore: Fix tree-wide permissions
No idea why everything was executable, lol.
2025-09-08 06:08:20 -06:00

15 lines
519 B
EmacsLisp

;;; syd-custom.el -*- lexical-binding: t; -*-
;; To discourage use of the custom file, we store it somewhere will
;; Impermanence will wipe it.
(use-package emacs
;; TODO: I'd like to allow /some/ custom variables. E.g., the trusted
;; dir-locals files. See `hack-dir-local-variables'. It has some hooks that
;; should make this accomplishable.
:custom (custom-file (file-name-concat syd-data-dir "custom.el"))
:config
(when (file-readable-p custom-file)
(load custom-file)))
(provide 'syd-custom)