From 8653d5c5604cb92244ae3e33d5c7f00b911a9ac0 Mon Sep 17 00:00:00 2001 From: Uko Kokņevičs Date: Tue, 21 Oct 2025 17:34:28 +0300 Subject: emacs: Some loading order fixes for amx, counsel, helpful --- emacs/.config/emacs/init.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'emacs') diff --git a/emacs/.config/emacs/init.el b/emacs/.config/emacs/init.el index f90f792..d5967bc 100644 --- a/emacs/.config/emacs/init.el +++ b/emacs/.config/emacs/init.el @@ -233,6 +233,11 @@ (use-package amx :straight t + :after counsel + :demand t + :bind (("M-x" . amx) + ([remap execute-extended-command] . amx)) + :custom ((amx-backend 'ivy)) :config (amx-mode +1)) @@ -269,7 +274,7 @@ (use-package counsel :straight t - :after (amx helpful) + :demand t :bind (("C-h f" . counsel-describe-function) ("C-h v" . counsel-describe-variable) ([remap describe-function] . counsel-describe-function) @@ -338,6 +343,7 @@ (use-package helpful :straight t + :commands (helpful-callable helpful-variable) :bind (("C-c C-d" . helpful-at-point) ("C-h k" . helpful-key) ("C-h o" . helpful-symbol) -- cgit v1.2.3