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))
|
"C-k" #'pass-next-directory))
|
||||||
|
|
||||||
|
|
||||||
(cond ((version< emacs-version "26")
|
(cond ((package-built-in-p 'auth-store-pass) ; built into Emacs 26
|
||||||
;; included with `pass'
|
(def-package! auth-store-pass
|
||||||
(require 'auth-password-store)
|
:demand t
|
||||||
(auth-pass-enable))
|
:config (auth-source-pass-enable)))
|
||||||
|
(t
|
||||||
(t ;; built into Emacs 26
|
(def-package! auth-password-store
|
||||||
(require 'auth-store-pass)
|
:demand t
|
||||||
(auth-source-pass-enable)))
|
:config (auth-pass-enable))))
|
||||||
|
|
||||||
|
|
||||||
(def-package! helm-pass
|
(def-package! helm-pass
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
(package! pass)
|
(package! pass)
|
||||||
(package! password-store)
|
(package! password-store)
|
||||||
|
|
||||||
(when (version< emacs-version "26")
|
(unless (package-built-in-p 'auth-store-pass)
|
||||||
(package! auth-password-store))
|
(package! auth-password-store))
|
||||||
|
|
||||||
(when (featurep! :completion helm)
|
(when (featurep! :completion helm)
|
||||||
|
Reference in New Issue
Block a user