summaryrefslogtreecommitdiff
path: root/modules/auth-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-11-16 22:10:58 -0600
committerCraig Jennings <c@cjennings.net>2025-11-16 22:10:58 -0600
commitf32544f765bde7216fd323dd1ab7f83c9b02728d (patch)
tree3ff2e0eb92495ae4a479780a29268d5c67ae6779 /modules/auth-config.el
parentd88a6b77b8ff2d97651777974cd6265f6c55bcd9 (diff)
downloaddotemacs-f32544f765bde7216fd323dd1ab7f83c9b02728d.tar.gz
dotemacs-f32544f765bde7216fd323dd1ab7f83c9b02728d.zip
refactor: Use cj/log-silently for debug messages
Converted debug/informational messages to use cj/log-silently instead of message across multiple modules. These are automatic initialization or background task messages that don't need minibuffer display but should still be logged to *Messages* buffer. Changes: - org-agenda-config.el: Cache build/hit messages (4 messages) - org-refile-config.el: Cache build/hit + mode switching (5 messages) - org-export-config.el: reveal.js download message (1 message) - auth-config.el: oauth2-auto cache fix message (1 message) - quick-video-capture.el: initialization message (1 message) All modules now require system-lib for cj/log-silently function. Keeps UI clean while maintaining debuggability.
Diffstat (limited to 'modules/auth-config.el')
-rw-r--r--modules/auth-config.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/auth-config.el b/modules/auth-config.el
index 52032c2a..83a7e2d0 100644
--- a/modules/auth-config.el
+++ b/modules/auth-config.el
@@ -23,6 +23,7 @@
;;; Code:
+(require 'system-lib)
(eval-when-compile (require 'user-constants)) ;; defines authinfo-file location
;; -------------------------------- Auth Sources -------------------------------
@@ -95,7 +96,7 @@ This function re-implements the intended behavior with cache enabled."
;; Apply the fix via advice (survives package updates)
(with-eval-after-load 'oauth2-auto
(advice-add 'oauth2-auto--plstore-read :override #'cj/oauth2-auto--plstore-read-fixed)
- (message "✓ oauth2-auto cache fix applied via advice"))
+ (cj/log-silently "✓ oauth2-auto cache fix applied via advice"))
;; ------------------------ Authentication Reset Utility -----------------------