python.el: Keep eldoc visible while typing args.
commit2155973e5e35d11a50ce6773bb34d5df68beea57
authorFabián Ezequiel Gallina <fgallina@gnu.org>
Sat, 7 Feb 2015 21:39:07 +0000 (7 18:39 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Sat, 7 Feb 2015 21:39:07 +0000 (7 18:39 -0300)
tree682fa184b144ec057533839858c6617c8d166b46
parent2d467a0ff0cd446ec0d83044a0be819cbf874cdf
python.el: Keep eldoc visible while typing args.

Fixes: debbugs:19637

* lisp/progmodes/python.el (python-eldoc--get-symbol-at-point): New
function.
(python-eldoc--get-doc-at-point, python-eldoc-at-point): Use it.

* test/automated/python-tests.el
(python-eldoc--get-symbol-at-point-1)
(python-eldoc--get-symbol-at-point-2)
(python-eldoc--get-symbol-at-point-3)
(python-eldoc--get-symbol-at-point-4): New tests.
lisp/ChangeLog
lisp/progmodes/python.el
test/ChangeLog
test/automated/python-tests.el