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

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

[elpa] externals/osm 1b7f4020b3 73/77: Fix caching


From: ELPA Syncer
Subject: [elpa] externals/osm 1b7f4020b3 73/77: Fix caching
Date: Mon, 7 Mar 2022 08:58:09 -0500 (EST)

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

    Fix caching
---
 osm.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/osm.el b/osm.el
index e764cfe937..9a49869c26 100644
--- a/osm.el
+++ b/osm.el
@@ -602,8 +602,8 @@ xmlns='http://www.w3.org/2000/svg' 
xmlns:xlink='http://www.w3.org/1999/xlink'>
         (when tile
           (when osm-max-tiles
             (unless osm--tiles
-              (setq osm--tiles (make-hash-table :test #'equal :size 
osm-max-tiles))
-              (puthash key (cons osm--cookie tile) osm--tiles)))
+              (setq osm--tiles (make-hash-table :test #'equal :size 
osm-max-tiles)))
+            (puthash key (cons osm--cookie tile) osm--tiles))
           tile)))))
 
 (defun osm--display-tile (x y tile)



reply via email to

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