summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorlin.sun <lin.sun@zoom.us>2019-11-29 03:10:12 -0500
committerEli Zaretskii <eliz@gnu.org>2019-12-21 11:13:27 +0200
commit9b7f3b0f5774d994311af84d86465c77f00791e5 (patch)
treed78686b02311107e964f5e20b65c940eeb878505 /etc
parentcc78faee7d23dd0433ba537818a68cbd20fa52a3 (diff)
downloademacs-9b7f3b0f5774d994311af84d86465c77f00791e5.tar.gz
Add new function `python-shell-send-statement'
* lisp/progmodes/python.el (python-shell-send-statement): New function. (python-mode-map): Bind it to key "C-c C-e", and define a python-menu item for it. (Bug#38426)
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 7a7f3f204b0..6e0b039ce30 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1555,6 +1555,12 @@ The maximum level is used by default; customize
If non-nil, the default, buffers opened during pdbtracking session are
killed when pdbtracking session is finished.
+---
+*** New function 'python-shell-send-region'.
+It send the statement delimited by 'python-nav-beginning-of-statement' and
+'python-nav-end-of-statement' to the inferior Python process.
+
+
** Help
---