From 52d94c1e5fd603db650c8cf8fe1f237df661a1f5 Mon Sep 17 00:00:00 2001 From: Przemyslaw Kryger Date: Thu, 5 Nov 2020 11:45:50 +0000 Subject: [PATCH] Use `helm-describe-function-function` for a help This allow to use the same function to describe function as other helm functions , i.e. `helm-M-x`. I find it useful to use with `helpful` package, while retaining existing functionality. --- helm-descbinds.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-descbinds.el b/helm-descbinds.el index 23a2c3b..6416e83 100644 --- a/helm-descbinds.el +++ b/helm-descbinds.el @@ -224,7 +224,7 @@ see (info \"(elisp) Prefix Keys\").") (helm-descbinds-display-string-in-help helm-descbinds-prefix-help)) ((guard (and (symbolp name) (fboundp name))) - (describe-function name))))) + (funcall helm-describe-function-function name))))) (defun helm-descbinds-action:find-func (candidate) "An action that find selected CANDIDATE function."