From 3bc8a72d583d323b54ab9ececa0f3077ee8d3dc9 Mon Sep 17 00:00:00 2001 From: earnest ma Date: Tue, 8 Mar 2022 13:49:18 -0500 Subject: [PATCH] doom(+smudge): Run mode after init I think this is better, not sure. `smudge-transport' defaults to 'connect, so remove it --- doom/.config/doom/+smudge.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/doom/.config/doom/+smudge.el b/doom/.config/doom/+smudge.el index fa23bfa..eea3a00 100644 --- a/doom/.config/doom/+smudge.el +++ b/doom/.config/doom/+smudge.el @@ -6,10 +6,7 @@ ;; (setq smudge-oauth2-client-id "" ;; smudge-oauth2-client-secret "") :if (boundp 'smudge-oauth2-client-secret) + :hook (after-init . global-smudge-remote-mode) :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))