emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 3817a44: Fix environment variable for xdg-data-dirs


From: Mark Oteiza
Subject: [Emacs-diffs] master 3817a44: Fix environment variable for xdg-data-dirs
Date: Thu, 9 Feb 2017 07:18:54 -0500 (EST)

branch: master
commit 3817a44a18fb911365b5899db8c84c7a87eb0f5d
Author: Steven Allen <address@hidden>
Commit: Mark Oteiza <address@hidden>

    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
---
 lisp/xdg.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]