Emacs: Work around auth-source-pass issue.

master
Pierre Neidhardt 2019-12-06 14:59:36 +01:00
parent aa68a9405f
commit dc4ffa76b9
1 changed files with 3 additions and 0 deletions

View File

@ -367,6 +367,9 @@
(setq ws-butler-keep-whitespace-before-point nil))
(setq auth-sources '("~/.authinfo.gpg" "~/.authinfo" "~/.netrc"))
;; Emacs 26 embedded auth-source-pass seems to be broken (it complains about an unknown source 'password-store).
(load "~/.guix-extra-profiles/emacs/emacs/share/emacs/site-lisp/auth-source-pass.el"
'noerror) ; TODO: Remove with Emacs 27?
(add-to-list 'auth-sources 'password-store 'append)
(provide 'main)