branch: externals/auth-source-xoauth2-plugin commit d215ee80b8d2706cf678d0a85272871c52f98f73 Author: Xiyue Deng <manp...@gmail.com> Commit: Xiyue Deng <manp...@gmail.com>
Fix checkdoc errors --- auth-source-xoauth2-plugin.el | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/auth-source-xoauth2-plugin.el b/auth-source-xoauth2-plugin.el index 63e89ace19..b0baab7212 100644 --- a/auth-source-xoauth2-plugin.el +++ b/auth-source-xoauth2-plugin.el @@ -83,11 +83,13 @@ (require 'smtpmail) (defun auth-source-xoauth2-plugin--search-backends (orig-fun &rest args) - "Perform auth-source-search and set password as access-token when requested. -The substitution only happens if one sets `auth' to `xoauth2' in -your auth-source-entry. It is expected that `token_url', -`client_id', `client_secret', and `refresh_token' are properly -set along `host', `user', and `port' (note the snake_case)." + "Perform `auth-source-search' and set password as access-token when requested. +Calls ORIG-FUN which would be `auth-source-search-backends' with +ARGS to get the auth-source-entry. The substitution only happens +if one sets `auth' to `xoauth2' in your auth-source-entry. It is +expected that `token_url', `client_id', `client_secret', and +`refresh_token' are properly set along `host', `user', and +`port' (note the snake_case)." (auth-source-do-trivia "Advising auth-source-search") (let (check-secret) (when (memq :secret (nth 5 args))