summaryrefslogtreecommitdiff
path: root/lisp/xdg.el
diff options
context:
space:
mode:
authorSteven Allen <steven@stebalien.com>2017-02-08 22:08:09 -0800
committerMark Oteiza <mvoteiza@udel.edu>2017-02-09 07:18:41 -0500
commit3817a44a18fb911365b5899db8c84c7a87eb0f5d (patch)
tree532c6338b04cc3b3ba9660679d6c99ec808c40b9 /lisp/xdg.el
parentbbbfa31ed534cd4689ff5c3af0171778bebe3fc2 (diff)
downloademacs-3817a44a18fb911365b5899db8c84c7a87eb0f5d.tar.gz
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
Diffstat (limited to 'lisp/xdg.el')
-rw-r--r--lisp/xdg.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/xdg.el b/lisp/xdg.el
index 51218e339d1..b11e104e2b7 100644
--- a/lisp/xdg.el
+++ b/lisp/xdg.el
@@ -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))))