From 29ad7f62517a0de855163766abbb965d49eb7084 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 2 Jul 2026 21:46:49 -0400 Subject: fix(weather): keep wttrin runtime state in data/ wttrin-state-file defaults to locate-user-emacs-file, which drops the state file at the repo root as untracked clutter. Point it at data/ alongside the other per-machine state files; moved the existing file there. --- modules/weather-config.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/weather-config.el b/modules/weather-config.el index 748b1af3..84920776 100644 --- a/modules/weather-config.el +++ b/modules/weather-config.el @@ -36,6 +36,9 @@ ("M-S-w" . wttrin) ;; was M-W, overrides kill-ring-save :config (setopt wttrin-unit-system "u") + ;; Keep runtime state in data/ with the other per-machine state files; + ;; the default (locate-user-emacs-file) drops it at the repo root. + (setopt wttrin-state-file (expand-file-name "data/wttrin-state.el" user-emacs-directory)) ;; Drop the "Follow @igor_chubin for wttr.in updates" footer. "F" is the ;; wttr.in flag for "no Follow line"; everything else (forecast, header, ;; colors) is unchanged. -- cgit v1.2.3