From 41d3ab7b73b23657d3a59162106d4b8e30eb8575 Mon Sep 17 00:00:00 2001 From: Jakub Date: Tue, 9 Dec 2025 20:56:32 +0800 Subject: [PATCH] save geohash --- userland/weather.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/userland/weather.el b/userland/weather.el index 79134e4..53ed2be 100644 --- a/userland/weather.el +++ b/userland/weather.el @@ -50,10 +50,10 @@ (cdr (assoc 'postcode alst))) (cdr (assoc 'geohash alst)))) res))) - (customize-set-variable 'theurgy-geohash (cdr (assoc (completing-read "Select Location: " candidates) candidates)))))))) + (customize-save-variable 'theurgy-geohash (cdr (assoc (completing-read "Select Location: " candidates) candidates)))))))) (defvar forecast-timer nil) -(defvar forecast-location "forecast") ;; The location of the cached forecast, related to the emacs user directory +(defvar forecast-location "forecast") ;; The location of the cached forecast, relative to the emacs user directory (defun theurgy-weather-fetch-forecast () "Fetch and save the weather forecast."