Update password-store +auth to only use auth-source-pass

Now that auth-password-store has been renamed to auth-source-pass and it matches
the same feature included in emacs 26 under the same name we don't need custom
checks and package loading.
This commit is contained in:
Brandon Orther 2018-03-27 19:37:43 -07:00
parent 06577c9fe3
commit f24725382f
3 changed files with 7 additions and 9 deletions

View file

@ -12,9 +12,7 @@
;;;###autoload
(defalias '+pass--get-entry
(if (featurep 'auth-store-pass)
#'auth-source-pass-parse-entry
#'auth-pass-parse-entry))
#'auth-source-pass-parse-entry)
;;;###autoload
(defun +pass-get-field (entry fields)

View file

@ -36,8 +36,6 @@
;; Is built into Emacs 26+
(when (featurep! +auth)
(if (require 'auth-store-pass nil t)
(auth-source-pass-enable)
(def-package! auth-source-store
:config (auth-source-pass-enable))))
(def-package! auth-source-pass
:when (featurep! +auth)
:config (auth-source-pass-enable))

View file

@ -3,7 +3,9 @@
(package! pass)
(package! password-store)
(package! auth-source-pass)
(when (featurep! +auth)
(package! auth-source-pass))
(when (featurep! :completion helm)
(package! helm-pass))