diff options
| author | kobarity | 2023-02-14 00:30:15 +0900 |
|---|---|---|
| committer | Eli Zaretskii | 2023-02-18 18:43:11 +0200 |
| commit | 5190ea6259a5fd13ba5e87b92b20f450658cf532 (patch) | |
| tree | 2ba3e8c9b0476c88d833a604a0a993064a9eb970 /java | |
| parent | 6c0d8210175e72dcd7cef2ad77b8f8b680b240bc (diff) | |
| download | emacs-5190ea6259a5fd13ba5e87b92b20f450658cf532.tar.gz emacs-5190ea6259a5fd13ba5e87b92b20f450658cf532.zip | |
Fix point moving when calling python-shell-send-region
* lisp/progmodes/python.el (python-shell-buffer-substring): Add
`save-excursion' to prevent the point from moving.
* test/lisp/progmodes/python-tests.el (python-tests-should-not-move):
New helper function to assert that point does not move while calling a
function.
(python-shell-buffer-substring-*): Use
`python-tests-should-not-move'. (Bug#61463)
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions