[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 4cddec4 102/184: Respect counsel-describe-function-functio

From: Oleh Krehel
Subject: [elpa] master 4cddec4 102/184: Respect counsel-describe-function-function from counsel-M-x
Date: Wed, 16 Oct 2019 13:14:59 -0400 (EDT)

branch: master
commit 4cddec4ce7e231e404c3808ba2c6c985ab467f96
Author: Wilfred Hughes <address@hidden>
Commit: Wilfred Hughes <address@hidden>

    Respect counsel-describe-function-function from counsel-M-x
    This enables users to overide the describe function for counsel-M-x,
    to use packages like helpful.
    See discussion in https://github.com/Wilfred/helpful/issues/218
 counsel.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/counsel.el b/counsel.el
index 0e35663..2d653ab 100644
--- a/counsel.el
+++ b/counsel.el
@@ -914,7 +914,7 @@ when available, in that order of precedence."
  `(("d" counsel--find-symbol "definition")
-   ("h" ,(lambda (x) (describe-function (intern x))) "help")))
+   ("h" ,(lambda (x) (funcall counsel-describe-function-function (intern x))) 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]