Take 2 on auth-store-pass detection in Emacs 26+

This commit is contained in:
Henrik Lissner 2017-07-29 00:00:19 +02:00
parent ff9965e039
commit 9506cc9902
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -29,11 +29,14 @@
"C-k" #'pass-next-directory))
(def-package! auth-password-store
:demand t
:config (auth-pass-enable))
(def-package! helm-pass
:when (featurep! :completion helm)
:commands helm-pass)
;; Is built into Emacs 26+
(if (require 'auth-store-pass nil t)
(auth-source-pass-enable)
(def-package! auth-password-store
:demand t
:config (auth-pass-enable)))