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
commit6e667d18d7295b5fddaced070dece798212ce2fd (patch)
treef268592301d7aac8ac8e2bf2f089aff47b8b1d95 /modules/auth-config.el
parent53c20d92c0bc7698446de8711c8705c14ee70cc5 (diff)
downloaddotemacs-6e667d18d7295b5fddaced070dece798212ce2fd.tar.gz
dotemacs-6e667d18d7295b5fddaced070dece798212ce2fd.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.