branch: externals/auth-source-xoauth2-plugin
commit 4ace7b06286edc5ad13c9473791693ae62117312
Author: Xiyue Deng <manp...@gmail.com>
Commit: Xiyue Deng <manp...@gmail.com>
Fix wrong usage of push
---
auth-source-xoauth2-plugin.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/auth-source-xoauth2-plugin.el b/auth-source-xoauth2-plugin.el
index 10dce5940c..63e89ace19 100644
--- a/auth-source-xoauth2-plugin.el
+++ b/auth-source-xoauth2-plugin.el
@@ -138,7 +138,7 @@ set along `host', `user', and `port' (note the snake_case)."
(defun auth-source-xoauth2-plugin-enable ()
"Enable auth-source-xoauth2-plugin."
(unless (memq 'xoauth2 smtpmail-auth-supported)
- (push 'smtpmail-auth-supported 'xoauth2))
+ (push 'xoauth2 smtpmail-auth-supported))
(advice-add #'auth-source-search-backends :around
#'auth-source-xoauth2-plugin--search-backends))