aboutsummaryrefslogtreecommitdiff
path: root/modules/auth-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-24 09:51:38 -0400
committerCraig Jennings <c@cjennings.net>2026-06-24 09:51:38 -0400
commit903067e618df5d64778fbe95e9468b825bafd43b (patch)
treed7d722500230e9863e7cec7eb212bb29678c9afc /modules/auth-config.el
parente7001fba1ebfe337ae657fe97413c9852e03302c (diff)
downloaddotemacs-903067e618df5d64778fbe95e9468b825bafd43b.tar.gz
dotemacs-903067e618df5d64778fbe95e9468b825bafd43b.zip
chore(elisp): clear byte-compile warnings (calibredb, config-utilities, tramp, diff, chrono, auth)
Add declare-function/defvar declarations for lazily-loaded package functions and variables so each module compiles cleanly standalone; config-utilities wraps two lazy EmacSQL oref slot reads in with-no-warnings. No behavior change. Claude-Session: https://claude.ai/code/session_01BqrdWUo9GcznYX2pZr76gZ
Diffstat (limited to 'modules/auth-config.el')
-rw-r--r--modules/auth-config.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/auth-config.el b/modules/auth-config.el
index f18c0c1fd..62d773057 100644
--- a/modules/auth-config.el
+++ b/modules/auth-config.el
@@ -35,6 +35,15 @@
(require 'system-lib)
(require 'user-constants) ;; defines authinfo-file, read at load time below
+;; Lazily-loaded oauth2-auto / plstore internals used by the cache-fix advice
+;; below. oauth2-auto is required at runtime inside the advised function; these
+;; declarations satisfy the byte-compiler without forcing an eager load.
+(declare-function oauth2-auto--compute-id "oauth2-auto")
+(declare-function plstore-get "plstore")
+(declare-function plstore-close "plstore")
+(defvar oauth2-auto--plstore-cache)
+(defvar oauth2-auto-plstore)
+
(defcustom cj/auth-source-debug-enabled nil
"Non-nil means enable verbose auth-source debug logging.