]> git.eshelyaron.com Git - emacs.git/commit
Fix Python completion when point in shell buffer is before prompt
authorkobarity <kobarity@gmail.com>
Wed, 12 Oct 2022 11:14:33 +0000 (13:14 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 12 Oct 2022 11:14:33 +0000 (13:14 +0200)
commitaa559c15537a59147bb01617b4a1f9eee20af3a1
tree0de92d6d2764117965419112246cc4f6d2e15bde
parent2953d89d74ebfe6a6bcbe0d25a60a845acad0e13
Fix Python completion when point in shell buffer is before prompt

* lisp/progmodes/python.el (python-shell-completion-at-point): Limit
prompt boundaries check to shell buffer.
* test/lisp/progmodes/python-tests.el (python-shell-completion-2):
(python-shell-completion-native-2): New tests (bug#58441).
lisp/progmodes/python.el
test/lisp/progmodes/python-tests.el