emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/osm f532acda0d: Follow xdg cache spec


From: ELPA Syncer
Subject: [elpa] externals/osm f532acda0d: Follow xdg cache spec
Date: Thu, 19 Dec 2024 09:58:38 -0500 (EST)

branch: externals/osm
commit f532acda0dde4dafa115a3d1c82267473a3895e6
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Follow xdg cache spec
---
 osm.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/osm.el b/osm.el
index 45b23787d8..a62fbd2921 100644
--- a/osm.el
+++ b/osm.el
@@ -219,7 +219,9 @@ shown around SVG tiles."
   :type 'symbol)
 
 (defcustom osm-tile-directory
-  (expand-file-name "var/osm/" user-emacs-directory)
+  (expand-file-name (file-name-concat
+                     (or (getenv "XDG_CACHE_HOME") "~/.cache/")
+                     "emacs/osm/"))
   "Tile cache directory."
   :type 'string)
 



reply via email to

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