aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorAlex Branham2018-02-12 13:28:20 -0600
committerNicolas Petton2018-06-05 15:51:32 +0200
commit24cbb659541b13ad373082f6cf76df7cc5cc1f38 (patch)
treee110b2b02fadeb83d4088d3345639a7a9d97ee13 /lisp
parent1d2551f8e70ab80a6f57ee11ab70f54aa916adcd (diff)
downloademacs-24cbb659541b13ad373082f6cf76df7cc5cc1f38.tar.gz
emacs-24cbb659541b13ad373082f6cf76df7cc5cc1f38.zip
Silence byte compiler warning in auth-source-pass
* lisp/auth-source-pass.el (auth-source-pass-backend): Silence byte compiler warning by only passing a parameter to `auth-source-backend' in Emacs <= 25.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/auth-source-pass.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/auth-source-pass.el b/lisp/auth-source-pass.el
index 461cba02dd4..ec0fe8c4320 100644
--- a/lisp/auth-source-pass.el
+++ b/lisp/auth-source-pass.el
@@ -81,7 +81,7 @@ See `auth-source-search' for details on SPEC."
81 81
82(defvar auth-source-pass-backend 82(defvar auth-source-pass-backend
83 (auth-source-backend 83 (auth-source-backend
84 (format "Password store") 84 (when (<= emacs-major-version 25) "password-store")
85 :source "." ;; not used 85 :source "." ;; not used
86 :type 'password-store 86 :type 'password-store
87 :search-function #'auth-source-pass-search) 87 :search-function #'auth-source-pass-search)