aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 75b9f0c087e..4671d9f0f1a 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1635,10 +1635,12 @@ When argument ARG is non-nil sends the innermost defun."
1635 (python-shell-send-region 1635 (python-shell-send-region
1636 (progn 1636 (progn
1637 (or (python-beginning-of-defun-function) 1637 (or (python-beginning-of-defun-function)
1638 (progn (beginning-of-line) (point-marker)))) 1638 (beginning-of-line))
1639 (point-marker))
1639 (progn 1640 (progn
1640 (or (python-end-of-defun-function) 1641 (or (python-end-of-defun-function)
1641 (progn (end-of-line) (point-marker))))))) 1642 (end-of-line))
1643 (point-marker)))))
1642 1644
1643(defun python-shell-send-file (file-name &optional process temp-file-name) 1645(defun python-shell-send-file (file-name &optional process temp-file-name)
1644 "Send FILE-NAME to inferior Python PROCESS. 1646 "Send FILE-NAME to inferior Python PROCESS.