]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix environment variable for xdg-data-dirs
authorSteven Allen <steven@stebalien.com>
Thu, 9 Feb 2017 06:08:09 +0000 (22:08 -0800)
committerMark Oteiza <mvoteiza@udel.edu>
Thu, 9 Feb 2017 12:18:41 +0000 (07:18 -0500)
* lisp/xdg.el (xdg-data-dirs): Use XDG_DATA_DIRS, not XDG_CONFIG_DIRS

Copyright-paperwork-exempt: yes

lisp/xdg.el

index 51218e339d1a8513bc605615c5cd93a28d0350a3..b11e104e2b7a3efbaa9b0d2ca0d0446ee5c74fd9 100644 (file)
@@ -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))))