Subject: [PATCH] xdg: Fix environment variable for xdg-data-dirs

From: Steven Allen <[email-masked]>
Date: Wed, 8 Feb 2017 22:08:09 -0800

* lisp/xdg.el (xdg-data-dirs): Use XDG_DATA_DIRS, not XDG_CONFIG_DIRS

Copyright-paperwork-exempt: yes
---
 lisp/xdg.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/xdg.el b/lisp/xdg.el
index 51218e339d..b11e104e2b 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))))
-- 
2.11.1