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