diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 04542cdff3d..4984c9908bf 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; python.el --- Python's flying circus support for Emacs -*- lexical-binding: t -*- | 1 | ;;; python.el --- Python's flying circus support for Emacs -*- lexical-binding: t -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2003-2015 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2003-2016 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Fabián E. Gallina <fgallina@gnu.org> | 5 | ;; Author: Fabián E. Gallina <fgallina@gnu.org> |
| 6 | ;; URL: https://github.com/fgallina/python.el | 6 | ;; URL: https://github.com/fgallina/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 |