`python-nav-list-defun-positions' now caches defuns positions (#75)
authorFabián Ezequiel Gallina <fgallina@cuca>
Thu, 17 May 2012 03:03:43 +0000 (00:03 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Thu, 17 May 2012 03:03:43 +0000 (00:03 -0300)
commitb15e880041f5aacb12de0959c79d60e6065188fd
treecd79d28ac324b272f13464c009745739f9ce9825
parent0d85f46527ddbe40510181c025a67bd819d208b3
`python-nav-list-defun-positions' now caches defuns positions (#75)

This is a simplified version of @dandavison pull request (thanks dan!)

`python-nav-list-defun-positions' now uses
`python-nav-list-defun-positions-cache' buffer local variable to store
cached values of defun positions.

`python-nav-jump-to-defun' now benefits from this new cache and if
called with prefix argument it will invalidate it so new defuns are
scanned.

New Vars:
 + `python-nav-list-defun-positions-cache'
lisp/progmodes/python.el