From bf989bb594680eb2e3b69f55752353aa33cb47bb Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 13 Nov 2025 14:14:45 -0600 Subject: refactor: core: rename wttrin-mode-line-favorite-location to wttrin-favorite-location 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. --- tests/test-wttrin--mode-line-map.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test-wttrin--mode-line-map.el') diff --git a/tests/test-wttrin--mode-line-map.el b/tests/test-wttrin--mode-line-map.el index ed227cf..7a1052e 100644 --- a/tests/test-wttrin--mode-line-map.el +++ b/tests/test-wttrin--mode-line-map.el @@ -64,7 +64,7 @@ "Test that mode-line display uses wttrin--mode-line-map after refactoring. This test verifies the refactoring eliminated inline keymap construction." ;; Set up minimal mode-line state - (let ((wttrin-mode-line-favorite-location "Test, CA") + (let ((wttrin-favorite-location "Test, CA") (wttrin--mode-line-tooltip-data "Test weather")) ;; Update the mode-line display (wttrin--mode-line-update-display "☀️") -- cgit v1.2.3