aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-26 11:04:33 -0400
committerCraig Jennings <c@cjennings.net>2026-06-26 11:04:33 -0400
commitd4d12746e81348a55a25a1e40dbeac6a935e2825 (patch)
tree8dfb00f32efac251089bd31db3e1b82c572fd509
parent55ee8158a1f85bb532a24d752f9ef409192a924c (diff)
downloademacs-wttrin-d4d12746e81348a55a25a1e40dbeac6a935e2825.tar.gz
emacs-wttrin-d4d12746e81348a55a25a1e40dbeac6a935e2825.zip
docs: use a public landmark address in saved-location examples
-rw-r--r--README.org6
-rw-r--r--wttrin.el2
2 files changed, 4 insertions, 4 deletions
diff --git a/README.org b/README.org
index fc2f86a..0043fe3 100644
--- a/README.org
+++ b/README.org
@@ -320,14 +320,14 @@ The older =M-x wttrin-set-location-from-geolocation= command still works but is
#+end_src
*** Naming Locations
-A saved location has a friendly name and a separate query: =wttrin= shows the name in the picker, the buffer header, and the mode-line, but fetches weather for the query. That lets a precise query hide behind a readable name — "Craig's House" rather than "1500 Sugar Bowl Dr, New Orleans". The query can be a city, a full address, or =lat,lng= coordinates.
+A saved location has a friendly name and a separate query: =wttrin= shows the name in the picker, the buffer header, and the mode-line, but fetches weather for the query. That lets a precise query hide behind a readable name — "Superdome" rather than "1500 Sugar Bowl Dr, New Orleans". The query can be a city, a full address, or =lat,lng= coordinates.
Set them in your init:
#+begin_src emacs-lisp
(setq wttrin-saved-locations
- '(("Craig's House" . "1500 Sugar Bowl Dr, New Orleans")
- ("Home" . "41.37,-71.83")))
+ '(("Superdome" . "1500 Sugar Bowl Dr, New Orleans")
+ ("Home" . "41.37,-71.83")))
#+end_src
Or build the directory interactively:
diff --git a/wttrin.el b/wttrin.el
index 9ad76e8..6157589 100644
--- a/wttrin.el
+++ b/wttrin.el
@@ -210,7 +210,7 @@ NAME is what shows in the picker, the buffer header, and the mode-line. QUERY
is what wttr.in is fetched with: a city, a street address, or \"lat,lng\"
coordinates. For example:
- ((\"Craig's House\" . \"1500 Sugar Bowl Dr, New Orleans\")
+ ((\"Superdome\" . \"1500 Sugar Bowl Dr, New Orleans\")
(\"Home\" . \"41.37,-71.83\"))
A bare string S used anywhere a location is expected is shorthand for