feat: Redirect custom file to cache dir

This commit is contained in:
Madeleine Sydney
2025-01-16 11:22:21 -07:00
parent 7d7c97fc7b
commit c61c939f6c
3 changed files with 21 additions and 2 deletions

View File

@@ -3,11 +3,15 @@
(defvar syd-data-dir
(or (getenv "EMACS_DATA_DIR")
(error "Need $EMACS_DATA_DIR"))
"Directory analogous to XDG_DATA_HOME for miscellaneous Emacs things.")
"Directory analogous to XDG_DATA_HOME for miscellaneous Emacs things. Sydnix
will wipe this on boot!")
(defvar syd-cache-dir
(or (getenv "EMACS_CACHE_DIR")
(error "Need $EMACS_CACHE_DIR")))
(error "Need $EMACS_CACHE_DIR"))
"Directory analogous to XDG_CACHE_HOME for miscellaneous Emacs things. Sydnix
will not usually wipe this on boot; /however/ it is still free to clear this
directory at any time.")
(provide 'syd-constants)
;;; syd-constants.el ends here