doom(+smudge): Run mode after init

I think this is better, not sure.
`smudge-transport' defaults to 'connect, so remove it
main
earnest ma 2022-03-08 13:49:18 -05:00
parent 3f6886ee58
commit 3bc8a72d58
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
1 changed files with 1 additions and 4 deletions

View File

@ -6,10 +6,7 @@
;; (setq smudge-oauth2-client-id "" ;; (setq smudge-oauth2-client-id ""
;; smudge-oauth2-client-secret "") ;; smudge-oauth2-client-secret "")
:if (boundp 'smudge-oauth2-client-secret) :if (boundp 'smudge-oauth2-client-secret)
:hook (after-init . global-smudge-remote-mode)
:config :config
(setq smudge-transport 'connect)
;; smudge-oauth2-client-id
;; smudge-oauth2-client-secret
(global-smudge-remote-mode)
(map! :map smudge-mode-map "M-p" #'smudge-command-map)) (map! :map smudge-mode-map "M-p" #'smudge-command-map))