From ae997c48814d3f7a18dae32e4b97f28586ef11d6 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 4 Apr 2026 12:35:12 -0500 Subject: 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. --- wttrin.el | 5 ----- 1 file changed, 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*") -- cgit v1.2.3