aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorEli Zaretskii2024-05-02 13:04:15 +0300
committerEli Zaretskii2024-05-02 13:04:15 +0300
commit59c18389bdd89d48e92c485ba27721490ea03e16 (patch)
tree2fd57883c899741a7818df0c98c42fa9f94ef22a /lisp/progmodes/python.el
parentb2e92c746eb7d1135d3d4ccecc774d79555ffb99 (diff)
downloademacs-59c18389bdd89d48e92c485ba27721490ea03e16.tar.gz
emacs-59c18389bdd89d48e92c485ba27721490ea03e16.zip
; Fix last change
* lisp/progmodes/python.el (python-shell-send-block): Doc fix. * test/lisp/progmodes/python-tests.el (python-test--shell-send-block): Avoid byte-compiler warnings. (Bug#70609)
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 57cdf68fc25..5ba185bc60c 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -4147,10 +4147,11 @@ interactively."
4147(defun python-shell-send-block (&optional arg msg) 4147(defun python-shell-send-block (&optional arg msg)
4148 "Send the block at point to inferior Python process. 4148 "Send the block at point to inferior Python process.
4149The block is delimited by `python-nav-beginning-of-block' and 4149The block is delimited by `python-nav-beginning-of-block' and
4150`python-nav-end-of-block'. When optional argument ARG is non-nil, send 4150`python-nav-end-of-block'. If optional argument ARG is non-nil
4151the block body without its header. When optional argument MSG is 4151(interactively, the prefix argument), send the block body without
4152non-nil, forces display of a user-friendly message if there's no process 4152its header. If optional argument MSG is non-nil, force display
4153running; defaults to t when called interactively." 4153of a user-friendly message if there's no process running; this
4154always happens interactively."
4154 (interactive (list current-prefix-arg t)) 4155 (interactive (list current-prefix-arg t))
4155 (let ((beg (save-excursion 4156 (let ((beg (save-excursion
4156 (when (python-nav-beginning-of-block) 4157 (when (python-nav-beginning-of-block)