From: Amin Bandali Date: Sun, 11 Nov 2018 18:37:06 +0000 (-0500) Subject: [emacs] get canlock-password from auth X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/commitdiff_plain/76efba9dd2a60738831e036eeab801e8a1bc8871 [emacs] get canlock-password from auth --- diff --git a/etc/secrets.el b/etc/secrets.el index 74642b2..e881fb0 100644 --- a/etc/secrets.el +++ b/etc/secrets.el @@ -5,3 +5,6 @@ (defvar watform-client-id (eval-when-compile (plist-get (car (auth-source-search :host "watform.slack.com" :max 1)) :client-id))) (defvar watform-client-secret (eval-when-compile (plist-get (car (auth-source-search :host "watform.slack.com" :max 1)) :client-secret))) (defvar watform-token (eval-when-compile (plist-get (car (auth-source-search :host "watform.slack.com" :max 1)) :token))) + +(defvar canlock-password (eval-when-compile (funcall (plist-get (car (auth-source-search :host "gnus-canlock-password" :max 1)) :secret)))) +