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.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 04542cdff3d..c9235129f98 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -3569,7 +3569,9 @@ using that one instead of current buffer's process."
3569 (forward-char (length (match-string-no-properties 0))) 3569 (forward-char (length (match-string-no-properties 0)))
3570 (point)))) 3570 (point))))
3571 (end (point)) 3571 (end (point))
3572 (prompt-boundaries (python-util-comint-last-prompt)) 3572 (prompt-boundaries
3573 (with-current-buffer (process-buffer process)
3574 (python-util-comint-last-prompt)))
3573 (prompt 3575 (prompt
3574 (with-current-buffer (process-buffer process) 3576 (with-current-buffer (process-buffer process)
3575 (when prompt-boundaries 3577 (when prompt-boundaries