diff options
| -rw-r--r-- | lisp/auth-source-pass.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/auth-source-pass.el b/lisp/auth-source-pass.el index 1193d67954b..d5c61398143 100644 --- a/lisp/auth-source-pass.el +++ b/lisp/auth-source-pass.el | |||
| @@ -92,7 +92,9 @@ See `auth-source-search' for details on SPEC." | |||
| 92 | (when (eq entry 'password-store) | 92 | (when (eq entry 'password-store) |
| 93 | (auth-source-backend-parse-parameters entry auth-source-pass-backend))) | 93 | (auth-source-backend-parse-parameters entry auth-source-pass-backend))) |
| 94 | 94 | ||
| 95 | (add-hook 'auth-source-backend-parser-functions #'auth-source-pass-backend-parse) | 95 | (if (boundp 'auth-source-backend-parser-functions) |
| 96 | (add-hook 'auth-source-backend-parser-functions #'auth-source-pass-backend-parse) | ||
| 97 | (advice-add 'auth-source-backend-parse :before-until #'auth-source-pass-backend-parse)) | ||
| 96 | 98 | ||
| 97 | 99 | ||
| 98 | (defun auth-source-pass-get (key entry) | 100 | (defun auth-source-pass-get (key entry) |