diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-02 21:46:49 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-02 21:46:49 -0400 |
| commit | 29ad7f62517a0de855163766abbb965d49eb7084 (patch) | |
| tree | 455ba10db861ae7d1bdcf01231ac76e7baca3647 /modules | |
| parent | 32e5e1ef8de2970f5b3d606fe79519b70121d4c8 (diff) | |
| download | dotemacs-29ad7f62517a0de855163766abbb965d49eb7084.tar.gz dotemacs-29ad7f62517a0de855163766abbb965d49eb7084.zip | |
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.
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/weather-config.el | 3 |
1 files changed, 3 insertions, 0 deletions
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. |
