Skip to content

Commit

Permalink
Use no-littering if possible
Browse files Browse the repository at this point in the history
  • Loading branch information
meedstrom committed Jul 22, 2024
1 parent a95a997 commit e06de3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eva.el
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ See also `eva-sit-long' and `eva-sit-medium'."
:type 'boolean)

(defcustom eva-cache-dir-path
(expand-file-name "eva" user-emacs-directory)
(expand-file-name "eva" (or (bound-and-true-p no-littering-var-directory)
user-emacs-directory))
"Directory for persistent files (not user datasets)."
:group 'eva
:type 'directory
Expand Down

0 comments on commit e06de3c

Please sign in to comment.