mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix auth-store-pass error in Emacs 26+ #146
This commit is contained in:
@ -29,14 +29,14 @@
|
||||
"C-k" #'pass-next-directory))
|
||||
|
||||
|
||||
(cond ((version< emacs-version "26")
|
||||
;; included with `pass'
|
||||
(require 'auth-password-store)
|
||||
(auth-pass-enable))
|
||||
|
||||
(t ;; built into Emacs 26
|
||||
(require 'auth-store-pass)
|
||||
(auth-source-pass-enable)))
|
||||
(cond ((package-built-in-p 'auth-store-pass) ; built into Emacs 26
|
||||
(def-package! auth-store-pass
|
||||
:demand t
|
||||
:config (auth-source-pass-enable)))
|
||||
(t
|
||||
(def-package! auth-password-store
|
||||
:demand t
|
||||
:config (auth-pass-enable))))
|
||||
|
||||
|
||||
(def-package! helm-pass
|
||||
|
@ -4,7 +4,7 @@
|
||||
(package! pass)
|
||||
(package! password-store)
|
||||
|
||||
(when (version< emacs-version "26")
|
||||
(unless (package-built-in-p 'auth-store-pass)
|
||||
(package! auth-password-store))
|
||||
|
||||
(when (featurep! :completion helm)
|
||||
|
Reference in New Issue
Block a user