summaryrefslogtreecommitdiff
path: root/tests/test-wttrin--make-cache-key.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-11-08 23:46:58 -0600
committerCraig Jennings <c@cjennings.net>2025-11-08 23:46:58 -0600
commitc65a67efb7844797761896d77e02c0e883e2a54a (patch)
tree82b2f6584b37632862387d327215578b1e8f603c /tests/test-wttrin--make-cache-key.el
parent9074bf41fedbabfeb0e9c0bb7c3427e069bfeaab (diff)
refactor: core: lazy-load xterm-color dependency
Move xterm-color from top-level require to on-demand loading within functions that actually use it. This simplifies user configuration by eliminating the need for separate xterm-color use-package declarations. Changes: - Replace top-level (require 'xterm-color) with declare-function - Add (require 'xterm-color) in wttrin--process-weather-content - Add (require 'xterm-color) in wttrin--display-weather - Update smoke test to check loadability vs. feature presence Benefits: - Simpler use-package config (no :after xterm-color needed) - xterm-color still auto-installed via Package-Requires on MELPA - Load time optimization (loads only when displaying weather)
Diffstat (limited to 'tests/test-wttrin--make-cache-key.el')
0 files changed, 0 insertions, 0 deletions