Files
sydnix/users/crumb/programs/emacs/modules/syd-custom.el
2025-01-17 16:28:45 -07: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)