From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Steven Allen Newsgroups: gmane.emacs.bugs Subject: bug#25659: [PATCH] xdg: Fix environment variable for xdg-data-dirs Date: Wed, 8 Feb 2017 22:08:09 -0800 Message-ID: <20170209060809.31199-1-steven@stebalien.com> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1486620554 10914 195.159.176.226 (9 Feb 2017 06:09:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 9 Feb 2017 06:09:14 +0000 (UTC) To: 25659@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 09 07:09:08 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbhuk-0002NT-C4 for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Feb 2017 07:09:06 +0100 Original-Received: from localhost ([::1]:35829 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbhup-0008M1-It for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Feb 2017 01:09:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbhuk-0008Ll-09 for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2017 01:09:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbhug-0005ne-QE for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2017 01:09:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34293) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cbhug-0005na-No for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2017 01:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cbhug-0005qv-Ga for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2017 01:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Steven Allen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Feb 2017 06:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25659 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.148662051122455 (code B ref -1); Thu, 09 Feb 2017 06:09:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Feb 2017 06:08:31 +0000 Original-Received: from localhost ([127.0.0.1]:60725 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbhuA-0005q7-P6 for submit@debbugs.gnu.org; Thu, 09 Feb 2017 01:08:30 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59829) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cbhu8-0005pu-Nb for submit@debbugs.gnu.org; Thu, 09 Feb 2017 01:08:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbhu2-0005cG-N4 for submit@debbugs.gnu.org; Thu, 09 Feb 2017 01:08:23 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:55019) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cbhu2-0005cC-KA for submit@debbugs.gnu.org; Thu, 09 Feb 2017 01:08:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbhu1-0008KJ-Kd for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2017 01:08:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbhty-0005XI-Fg for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2017 01:08:21 -0500 Original-Received: from outgoing-stata.csail.mit.edu ([128.30.2.210]:55797) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbhty-0005TX-BH for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2017 01:08:18 -0500 Original-Received: from 99-167-85-176.lightspeed.irvnca.sbcglobal.net ([99.167.85.176] helo=localhost) by outgoing-stata.csail.mit.edu with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cbhts-000Z4U-C1 for bug-gnu-emacs@gnu.org; Thu, 09 Feb 2017 01:08:12 -0500 X-Mailer: git-send-email 2.11.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:129141 Archived-At: * 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