aboutsummaryrefslogtreecommitdiff
path: root/modules/weather-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-26 10:31:25 -0400
committerCraig Jennings <c@cjennings.net>2026-06-26 10:31:25 -0400
commit696cf6e5df35a1964976ad44a10cf2d6c75cc65a (patch)
tree6c56bc82414f8e4677179cf1488308f10a2db464 /modules/weather-config.el
parentfb491a642e2fd6137dbde327a8682e0e53332031 (diff)
downloaddotemacs-696cf6e5df35a1964976ad44a10cf2d6c75cc65a.tar.gz
dotemacs-696cf6e5df35a1964976ad44a10cf2d6c75cc65a.zip
chore(elisp): clear byte-compile warnings via declarations and a loop rewrite
Add the missing declare-function and defvar declarations that silence the not-known-to-be-defined and free-variable warnings in local-repository, org-webclipper, and weather-config. Rewrite jumper--location-exists-p from dotimes to cl-loop thereis, which fixes a spurious unused-variable warning and short-circuits on the first match. The remaining obsolete-generalized-variable warnings (point in pearl-config, buffer-substring in org-webclipper) come from upstream package macros (pearl, org-web-tools) and are not fixable in our code.
Diffstat (limited to 'modules/weather-config.el')
-rw-r--r--modules/weather-config.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/weather-config.el b/modules/weather-config.el
index 04531350..416db032 100644
--- a/modules/weather-config.el
+++ b/modules/weather-config.el
@@ -17,6 +17,8 @@
;;
;;; Code:
+(defvar wttrin-geolocation-command)
+
;; ----------------------------------- Wttrin ----------------------------------
(use-package wttrin