diff options
| author | Craig Jennings <c@cjennings.net> | 2025-11-13 14:14:45 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-11-13 14:14:45 -0600 |
| commit | bf989bb594680eb2e3b69f55752353aa33cb47bb (patch) | |
| tree | 5bf2840987672d63ec921161481d92c4139b0507 /README.org | |
| parent | b5633450732d6496c49a0628c8db80121d97facc (diff) | |
Renamed variable to remove 'mode-line' prefix, making it usable for
future location-based features beyond mode-line display. Updated all
references in code, tests, and documentation. All 187 tests passing.
Diffstat (limited to 'README.org')
| -rw-r--r-- | README.org | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -188,7 +188,7 @@ To enable the mode-line weather display, set your favorite location and enable a (use-package wttrin :ensure t :custom - (wttrin-mode-line-favorite-location "Berkeley, CA") + (wttrin-favorite-location "Berkeley, CA") (wttrin-mode-line-auto-enable t)) #+end_src @@ -211,7 +211,7 @@ You can customize several aspects of the mode-line weather display: #+begin_src emacs-lisp ;; Set your favorite location (required for mode-line display) - (setq wttrin-mode-line-favorite-location "New Orleans, LA") + (setq wttrin-favorite-location "New Orleans, LA") ;; Auto-enable mode-line weather on startup (setq wttrin-mode-line-auto-enable t) @@ -242,7 +242,7 @@ If wttrin isn't working as expected, enable debug mode to see detailed logging o ;; Set debug BEFORE wttrin loads (setq wttrin-debug t) :custom - (wttrin-mode-line-favorite-location "Your City")) + (wttrin-favorite-location "Your City")) #+end_src *❌ This will NOT work* (debug set too late): @@ -251,7 +251,7 @@ If wttrin isn't working as expected, enable debug mode to see detailed logging o :ensure t :custom (wttrin-debug t) ;; TOO LATE - wttrin already loaded! - (wttrin-mode-line-favorite-location "Your City")) + (wttrin-favorite-location "Your City")) #+end_src **** For manual/development installations: @@ -262,7 +262,7 @@ If wttrin isn't working as expected, enable debug mode to see detailed logging o ;; Set debug BEFORE wttrin loads (setq wttrin-debug t) :custom - (wttrin-mode-line-favorite-location "Your City")) + (wttrin-favorite-location "Your City")) #+end_src *** Viewing Debug Output |
