]> code.delx.au - gnu-emacs-elpa/commitdiff
counsel.el (counsel-M-x): Add help action
authorjustbur <justin@burkett.cc>
Tue, 29 Mar 2016 13:04:21 +0000 (09:04 -0400)
committerjustbur <justin@burkett.cc>
Tue, 29 Mar 2016 15:40:23 +0000 (11:40 -0400)
counsel.el

index 9384262aa752da9548e69767322e914aed3bf228..1c43b6e6e43df9784d7aba17a04825d37fcd6914 100644 (file)
@@ -478,7 +478,8 @@ Update the minibuffer with the amount of lines collected every
 ;;** `counsel-M-x'
 (ivy-set-actions
  'counsel-M-x
- '(("d" counsel--find-symbol "definition")))
+ '(("d" counsel--find-symbol "definition")
+   ("h" (lambda (x) (describe-function (intern x))) "help")))
 
 (ivy-set-display-transformer
  'counsel-M-x