mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Fix environment variable for xdg-data-dirs
* lisp/xdg.el (xdg-data-dirs): Use XDG_DATA_DIRS, not XDG_CONFIG_DIRS Copyright-paperwork-exempt: yes
This commit is contained in:
parent
bbbfa31ed5
commit
3817a44a18
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@
|
|||
|
||||
(defun xdg-data-dirs ()
|
||||
"Return the data directory search path as a list."
|
||||
(let ((env (getenv "XDG_CONFIG_DIRS")))
|
||||
(let ((env (getenv "XDG_DATA_DIRS")))
|
||||
(if (or (null env) (string= env ""))
|
||||
'("/usr/local/share/" "/usr/share/")
|
||||
(parse-colon-path env))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue