diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-26 11:04:33 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-26 11:04:33 -0400 |
| commit | d4d12746e81348a55a25a1e40dbeac6a935e2825 (patch) | |
| tree | 8dfb00f32efac251089bd31db3e1b82c572fd509 | |
| parent | 55ee8158a1f85bb532a24d752f9ef409192a924c (diff) | |
| download | emacs-wttrin-d4d12746e81348a55a25a1e40dbeac6a935e2825.tar.gz emacs-wttrin-d4d12746e81348a55a25a1e40dbeac6a935e2825.zip | |
docs: use a public landmark address in saved-location examples
| -rw-r--r-- | README.org | 6 | ||||
| -rw-r--r-- | wttrin.el | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -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: @@ -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 |
