summaryrefslogtreecommitdiff
path: root/wttrin-debug.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-04-04 14:14:39 -0500
committerCraig Jennings <c@cjennings.net>2026-04-04 14:14:39 -0500
commit88a66244fd613662ee7d5d3a0ad4394cfafdb521 (patch)
tree309782de6135f1b721ffe7471fc07de89c2ef57b /wttrin-debug.el
parent583ba34888e1c82da1f2bffbc913477c2e6a6df6 (diff)
downloademacs-wttrin-88a66244fd613662ee7d5d3a0ad4394cfafdb521.tar.gz
emacs-wttrin-88a66244fd613662ee7d5d3a0ad4394cfafdb521.zip
fix: clean byte-compilation warnings
Move define-obsolete-variable-alias before its referent defcustom to fix "alias should be declared before its referent" warning. Add defvar for wttrin--force-refresh in wttrin-debug.el so the byte-compiler knows the dynamic variable is intentional.
Diffstat (limited to 'wttrin-debug.el')
-rw-r--r--wttrin-debug.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/wttrin-debug.el b/wttrin-debug.el
index 329a248..d0473dd 100644
--- a/wttrin-debug.el
+++ b/wttrin-debug.el
@@ -33,6 +33,7 @@
;; is already present. The defvar/declare-function suppress byte-compiler
;; warnings for symbols defined in the parent file.
(defvar wttrin-debug)
+(defvar wttrin--force-refresh)
(declare-function wttrin--get-cached-or-fetch "wttrin")
;;;###autoload