aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorK. Handa2016-01-14 21:55:43 +0900
committerK. Handa2016-01-14 21:55:43 +0900
commit641a3472ef245157ebcb2114f2d608cb3cb401a7 (patch)
tree85e524c8d12caca29588382205f536b2008edc55 /lisp/progmodes/python.el
parent9835757013569673854b692ccbb58bfb3c3ed1f7 (diff)
parentee83b77f5ddede0fed518d0c23cf0ae38ce5b745 (diff)
downloademacs-641a3472ef245157ebcb2114f2d608cb3cb401a7.tar.gz
emacs-641a3472ef245157ebcb2114f2d608cb3cb401a7.zip
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
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 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