From f8459b36de59cd55a83d4e6225348f82a5ee24a5 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 8 Apr 2024 19:12:08 -0400 Subject: [PATCH] fix(helm): helm-descbinds-disable-which-key = nil Otherwise, helm-descbind throws errors if which-key is enabled. Setting prefix-help-command seems to resolve the incompatibility (more testing is needed). Ref: emacs-helm/helm-descbinds@ca03f02da4e5 Ref: emacs-helm/helm-descbinds@14d1929d547f Amend: 52599ab53647 --- modules/completion/helm/config.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/completion/helm/config.el b/modules/completion/helm/config.el index 7f983f872..916a944fe 100644 --- a/modules/completion/helm/config.el +++ b/modules/completion/helm/config.el @@ -188,7 +188,13 @@ Can be negative.") (use-package! helm-descbinds - :hook (helm-mode . helm-descbinds-mode)) + :hook (helm-mode . helm-descbinds-mode) + :config + ;; HACK: Upstream claims that the two packages are incompatible, but changing + ;; `prefix-help-command' seems to smooth the incompatibility over. More + ;; testing is needed... + (setq helm-descbinds-disable-which-key nil + prefix-help-command #'helm-descbinds)) (use-package! helm-icons