refactor: Move user config into modules/
This commit is contained in:
17
modules/home/users/crumb/emacs/lib/syd-constants.el
Normal file
17
modules/home/users/crumb/emacs/lib/syd-constants.el
Normal file
@@ -0,0 +1,17 @@
|
||||
;;; syd-constants.el -*- lexical-binding: t; -*-
|
||||
|
||||
(defvar syd-data-dir
|
||||
(or (getenv "EMACS_DATA_DIR")
|
||||
(error "Need $EMACS_DATA_DIR"))
|
||||
"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"))
|
||||
"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
|
||||
Reference in New Issue
Block a user