python.el: better limit for looking-back calls
* lisp/progmodes/python.el (python-shell-accept-process-output): Use last comint prompt start as limit for looking-back.
This commit is contained in:
parent
b47f3356fb
commit
e35bf57271
1 changed files with 2 additions and 1 deletions
|
@ -2268,7 +2268,8 @@ banner and the initial prompt are received separately."
|
|||
(while t
|
||||
(when (not (accept-process-output process timeout))
|
||||
(throw 'found nil))
|
||||
(when (looking-back regexp (point-min))
|
||||
(when (looking-back
|
||||
regexp (car (python-util-comint-last-prompt)))
|
||||
(throw 'found t))))))
|
||||
|
||||
(defun python-shell-comint-end-of-output-p (output)
|
||||
|
|
Loading…
Add table
Reference in a new issue