diff options
author | Dmitry Lazurkin <dilaz03@gmail.com> | 2017-01-04 21:46:21 +0300 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2017-01-12 20:40:19 -0500 |
commit | d4a97088f69eb5729261ee4581cfb7d60c673ebd (patch) | |
tree | 01aa98aa5b6f31c31e4b66192a34a57868b45730 /test/lisp/emacs-lisp/pcase-tests.el | |
parent | 55b52658470322a701000e88728d096a03b7c8ca (diff) | |
download | emacs-d4a97088f69eb5729261ee4581cfb7d60c673ebd.tar.gz emacs-d4a97088f69eb5729261ee4581cfb7d60c673ebd.tar.bz2 emacs-d4a97088f69eb5729261ee4581cfb7d60c673ebd.zip |
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.
Diffstat (limited to 'test/lisp/emacs-lisp/pcase-tests.el')
0 files changed, 0 insertions, 0 deletions