From b361ce235589208ee26d13f3c4ace3927ac54599 Mon Sep 17 00:00:00 2001 From: Alex Branham Date: Mon, 12 Feb 2018 13:28:20 -0600 Subject: [PATCH 08/14] 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. --- lisp/auth-source-pass.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/auth-source-pass.el b/lisp/auth-source-pass.el index 461cba02dd..ec0fe8c432 100644 --- a/lisp/auth-source-pass.el +++ b/lisp/auth-source-pass.el @@ -81,7 +81,7 @@ auth-source-pass-enable (defvar auth-source-pass-backend (auth-source-backend - (format "Password store") + (when (<= emacs-major-version 25) "password-store") :source "." ;; not used :type 'password-store :search-function #'auth-source-pass-search) -- 2.17.0