Function: xdg-cache-home
xdg-cache-home is a byte-compiled function defined in xdg.el.gz.
Signature
(xdg-cache-home)
Documentation
Return the base directory for user specific cache files.
According to the XDG Base Directory Specification version
0.8 (8th May 2021):
"$XDG_CACHE_HOME defines the base directory relative to
which user-specific non-essential data files should be
stored. If $XDG_CACHE_HOME is either not set or empty, a
default equal to $HOME/.cache should be used."
Source Code
;; Defined in /usr/src/emacs/lisp/xdg.el.gz
(defun xdg-cache-home ()
"Return the base directory for user specific cache files.
According to the XDG Base Directory Specification version
0.8 (8th May 2021):
\"$XDG_CACHE_HOME defines the base directory relative to
which user-specific non-essential data files should be
stored. If $XDG_CACHE_HOME is either not set or empty, a
default equal to $HOME/.cache should be used.\""
(xdg--dir-home "XDG_CACHE_HOME" "~/.cache"))