all repos — nixfiles @ c47ebf86c614125bdf3544f837c74dcb8b615152

System and user configuration, managed by nix and home-manager

Emacs: delay evil-collection startup
Alan Pearce alan@alanpearce.eu
Sun, 25 Jun 2023 07:23:36 +0200
commit

c47ebf86c614125bdf3544f837c74dcb8b615152

parent

03ebfee7952096779408d621fa1cdd64fec1cb01

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -392,11 +392,11 @@ (use-package evil-collection
   :demand t
   :commands (evil-collection-init)
+  :ghook ('after-init-hook #'evil-collection-init)
   :config (progn
             (setq evil-collection-magit-use-y-for-yank nil)
             (general-unbind 'normal magit-mode-map
-              "<escape>")
-            (evil-collection-init)))
+              "<escape>")))
 
 (general-create-definer my-leader-def
   :keymaps 'override