]> git.eshelyaron.com Git - emacs.git/commit
Fix extracting async def type and name in python mode imenu
authorDmitry Lazurkin <dilaz03@gmail.com>
Wed, 4 Jan 2017 18:46:21 +0000 (21:46 +0300)
committerNoam Postavsky <npostavs@gmail.com>
Fri, 13 Jan 2017 01:40:19 +0000 (20:40 -0500)
commitd4a97088f69eb5729261ee4581cfb7d60c673ebd
tree01aa98aa5b6f31c31e4b66192a34a57868b45730
parent55b52658470322a701000e88728d096a03b7c8ca
Fix extracting async def type and name in python mode imenu

* lisp/progmodes/python.el (python-imenu--get-defun-type-name):
New function.
(python-imenu--build-tree): Use python-imenu--get-defun-type-name for
extract async or simple def type and name at current
position (Bug#24820).
* test/lisp/progmodes/python-tests.el (python-imenu-create-index-1):
(python-imenu-create-flat-index-1): Add async def's.
lisp/progmodes/python.el
test/lisp/progmodes/python-tests.el