Added simple way of jumping to current buffer's class/function definitions
authorFabián Ezequiel Gallina <fgallina@cuca>
Thu, 17 May 2012 03:03:25 +0000 (00:03 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Thu, 17 May 2012 03:03:25 +0000 (00:03 -0300)
commitfc6c545e4c61b341fd433f994c193ec6f61abbdd
treed6332bc5521691b64bb008fa83a0deb9beea363b
parent1faf2911d613ac1c208e7ffca52e484804d3b0bb
Added simple way of jumping to current buffer's class/function definitions

The new `python-nav-jump-to-defun' function allows a user to jump fast
and easy to a function or class definition in the current buffer. For
this a entry in the menu and the C-c C-j keybinding have been
introduced.

New functions:
 + `python-nav-list-defun-positions'
 + `python-nav-read-defun'
 + `python-nav-jump-to-defun'

The new function `python-nav-list-defun-positions' does the same as a
relevant part of the `python-imenu-create-index' so the latter has
been refactored to use it.
lisp/progmodes/python.el