diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-24 09:51:38 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-24 09:51:38 -0400 |
| commit | e009c4a19a7a1e5efa99ccffa54e1c0e1bcd4081 (patch) | |
| tree | 6192ebe170a2a3c790b8994cf63be1757304e69c /modules/auth-config.el | |
| parent | 0abed58d63c00e275d3218f5cfd71e5439760a45 (diff) | |
| download | dotemacs-e009c4a19a7a1e5efa99ccffa54e1c0e1bcd4081.tar.gz dotemacs-e009c4a19a7a1e5efa99ccffa54e1c0e1bcd4081.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.el | 9 |
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. |
