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:
parent
06577c9fe3
commit
f24725382f
3 changed files with 7 additions and 9 deletions
|
@ -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)
|
||||
|
|
|
@ -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))
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue