summaryrefslogtreecommitdiff
path: root/README.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-11-13 14:14:45 -0600
committerCraig Jennings <c@cjennings.net>2025-11-13 14:14:45 -0600
commitbf989bb594680eb2e3b69f55752353aa33cb47bb (patch)
tree5bf2840987672d63ec921161481d92c4139b0507 /README.org
parentb5633450732d6496c49a0628c8db80121d97facc (diff)
refactor: core: rename wttrin-mode-line-favorite-location to wttrin-favorite-locationHEADmain
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.org10
1 files changed, 5 insertions, 5 deletions
diff --git a/README.org b/README.org
index 2b4904c..d7ebd72 100644
--- a/README.org
+++ b/README.org
@@ -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