unofficial mirror of bug-gnu-emacs@gnu.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

* bug#25659: [PATCH] xdg: Fix environment variable for xdg-data-dirs
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Oteiza @ 2017-02-09 12:19 UTC (permalink / raw)
  To: Steven Allen; +Cc: 25659-done


Steven Allen <steven@stebalien.com> writes:

> * lisp/xdg.el (xdg-data-dirs): Use XDG_DATA_DIRS, not XDG_CONFIG_DIRS
>
> Copyright-paperwork-exempt: yes

Applied, thanks.





^ permalink raw reply	[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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).