]> git.eshelyaron.com Git - emacs.git/commit
Fix invalid search bound error in python-shell-completion-at-point
authorkobarity <kobarity@gmail.com>
Sun, 16 Oct 2022 09:26:29 +0000 (11:26 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 16 Oct 2022 09:26:29 +0000 (11:26 +0200)
commitcb975c6183ed1653cc8d7fe5283a9b294bf07bf4
tree94ff57522638d9aefafbb76eee7448f4fbef4390
parentf9726408f6cb56b3a97a9e76be166a5156faec0b
Fix invalid search bound error in python-shell-completion-at-point

* lisp/progmodes/python.el (python-shell-completion-at-point): Add
check if point is before line-start.
* test/lisp/progmodes/python-tests.el (python-shell-completion-shell-buffer-1)
(python-shell-completion-shell-buffer-native-1): New tests
(bug#58548).
lisp/progmodes/python.el
test/lisp/progmodes/python-tests.el