branch: externals/osm commit 1b7f4020b3f0801f6303780635f553362386e23f Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@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)