]> git.eshelyaron.com Git - emacs.git/commit
Fix 'python-shell-buffer-substring' when START is in middle of 1st line
authorkobarity <kobarity@gmail.com>
Sun, 1 Jan 2023 12:09:10 +0000 (21:09 +0900)
committerEli Zaretskii <eliz@gnu.org>
Sat, 7 Jan 2023 08:57:38 +0000 (10:57 +0200)
commitf58452e3ae7ed595566028010128c99e3afb572b
tree536724d53129858467f2f29e0fb98789042655ad
parent7f9588685a0e1fe2dd0fcc5c3204426ac81cc6ac
Fix 'python-shell-buffer-substring' when START is in middle of 1st line

* lisp/progmodes/python.el (python-shell-buffer-substring): Instead
of checking whether START is point-min, check whether START is in
the first line.  (Bug#60466)
* test/lisp/progmodes/python-tests.el
(python-shell-buffer-substring-18): New test.
lisp/progmodes/python.el
test/lisp/progmodes/python-tests.el