all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#25659: [PATCH] xdg: Fix environment variable for xdg-data-dirs
@ 2017-02-09  6:08 Steven Allen
  2017-02-09 12:19 ` Mark Oteiza
  0 siblings, 1 reply; 2+ messages in thread
From: Steven Allen @ 2017-02-09  6:08 UTC (permalink / raw)
  To: 25659

* 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






^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-02-09 12:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-09  6:08 bug#25659: [PATCH] xdg: Fix environment variable for xdg-data-dirs Steven Allen
2017-02-09 12:19 ` Mark Oteiza

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.