summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-04-04 12:35:12 -0500
committerCraig Jennings <c@cjennings.net>2026-04-04 12:35:12 -0500
commitae997c48814d3f7a18dae32e4b97f28586ef11d6 (patch)
tree0d183fb3c25f9c54fd3c09c8c3efb4dab5fcf22e
parentf33d7231fa7f9f11250a592e28601df6b8f564c7 (diff)
downloademacs-wttrin-ae997c48814d3f7a18dae32e4b97f28586ef11d6.tar.gz
emacs-wttrin-ae997c48814d3f7a18dae32e4b97f28586ef11d6.zip
refactor: remove dead wttrin-exit function
Never called anywhere. The 'q' keybinding in wttrin-mode inherits quit-window from special-mode, making this function redundant.
-rw-r--r--wttrin.el5
1 files changed, 0 insertions, 5 deletions
diff --git a/wttrin.el b/wttrin.el
index 0c556da..a6362a2 100644
--- a/wttrin.el
+++ b/wttrin.el
@@ -300,11 +300,6 @@ Handles header skipping, UTF-8 decoding, and error handling automatically."
CALLBACK is called with the weather data string when ready, or nil on error."
(wttrin--fetch-url (wttrin--build-url query) callback))
-(defun wttrin-exit ()
- "Exit the wttrin buffer."
- (interactive)
- (quit-window t))
-
(defun wttrin--requery-location (new-location)
"Kill current weather buffer and query NEW-LOCATION."
(when (get-buffer "*wttr.in*")