summaryrefslogtreecommitdiff
path: root/lisp/use-package/bind-key.el
diff options
context:
space:
mode:
authorJustin Burkett <justin@burkett.cc>2016-06-22 22:46:32 -0400
committerJustin Burkett <justin@burkett.cc>2016-06-22 23:18:14 -0400
commitc13ca927c201c53f2107d54ba2dad8beb15d84ba (patch)
treeacc3df0dbf72533344c8676fe250eba088095a90 /lisp/use-package/bind-key.el
parentff0a5e281d68d15720cfd3fc8b98eb1abe4da74c (diff)
downloademacs-c13ca927c201c53f2107d54ba2dad8beb15d84ba.tar.gz
emacs-c13ca927c201c53f2107d54ba2dad8beb15d84ba.tar.bz2
emacs-c13ca927c201c53f2107d54ba2dad8beb15d84ba.zip
Add function use-package-jump-to-package-form
This is an attempt at resolving https://github.com/jwiegley/use-package/issues/329. The new interactive function use-package-jump-to-package-form will prompt with a completing read of all known packages. After selecting a package, use-package-find-require searches load-history to see where the package was required and then I attempt to find the correct use-package form using use-package-form-regexp. It will fail if the use-package form you are looking for did not actually load the package. For example it could be something that is a dependency of a library that was already loaded. In some sense this is a feature because it is helpful to know that the library was already loaded when your use-package form was encountered. It will also fail if your use-package declaration doesn't match the regexp used, but this is easily adjusted.
Diffstat (limited to 'lisp/use-package/bind-key.el')
0 files changed, 0 insertions, 0 deletions