]> git.eshelyaron.com Git - emacs.git/commit
Disable completion/ElDoc/FFAP when Python program is running
authorkobarity <kobarity@gmail.com>
Sat, 22 Oct 2022 12:36:15 +0000 (21:36 +0900)
committerEli Zaretskii <eliz@gnu.org>
Thu, 27 Oct 2022 16:04:14 +0000 (19:04 +0300)
commit7ac3d91eb2a7e9454087f17e1fadba350a86a208
tree96df09ecf27e5da25fa943058afa46357cb60033
parentd820c39bd18e493ba716ad3ceb8101c1dee3a02b
Disable completion/ElDoc/FFAP when Python program is running

* lisp/progmodes/python.el (python-completion-at-point)
(python-ffap-module-path, python-eldoc--get-doc-at-point): Add check
using `python-util-comint-end-of-output-p'.
(python-util-comint-end-of-output-p): New function.
* test/lisp/progmodes/python-tests.el (python-tests-shell-wait-for-prompt):
Use `python-util-comint-end-of-output-p'.
(python-completion-at-point-while-running-1)
(python-ffap-module-path-1)
(python-ffap-module-path-while-running-1)
(python-eldoc--get-doc-at-point-1)
(python-eldoc--get-doc-at-point-while-running-1): New tests.
(Bug#58713)
lisp/progmodes/python.el
test/lisp/progmodes/python-tests.el