branch: master
commit 7c73f7166486eeca829446a62efdb9520802ebea
Author: Wilfred Hughes <[email protected]>
Commit: Wilfred Hughes <[email protected]>

    Allow users to find libraries from counsel-load-library
    
    Fixes #873
---
 counsel.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/counsel.el b/counsel.el
index d7b3909..7536161 100644
--- a/counsel.el
+++ b/counsel.el
@@ -771,6 +771,10 @@ The libraries are offered from `load-path'."
                          (get-text-property 0 'full-name x)))
               :keymap counsel-describe-map)))
 
+(ivy-set-actions
+ 'counsel-load-library
+ '(("d" counsel--find-symbol "definition")))
+
 ;;** `counsel-find-library'
 ;;;###autoload
 (defun counsel-find-library ()

Reply via email to