Fix avy-embark setup by eagerly loading avy

This commit is contained in:
2024-09-19 15:27:44 -07:00
parent b6d23ec54d
commit 60f0ac25fd

View File

@@ -24,7 +24,6 @@
(use-package avy (use-package avy
:ensure t :ensure t
:defer nil
:bind :bind
(("C-j" . avy-goto-char-timer) (("C-j" . avy-goto-char-timer)
([remap goto-line] . avy-goto-line) ([remap goto-line] . avy-goto-line)
@@ -33,7 +32,8 @@
:map lisp-interaction-mode-map :map lisp-interaction-mode-map
("C-j" . nil)) ("C-j" . nil))
:init :demand t
:config
(defun avy-action-embark (pt) (defun avy-action-embark (pt)
(unwind-protect (unwind-protect
(save-excursion (save-excursion