python.el: Fix warnings on looking-back calls missing LIMIT

* lisp/progmodes/python.el (python-shell-accept-process-output):
Pass LIMIT arg to looking-back.
This commit is contained in:
Fabián Ezequiel Gallina 2015-04-29 21:09:58 -03:00
parent c1d30c4b13
commit 8b7e2c495a

View file

@ -2268,7 +2268,7 @@ banner and the initial prompt are received separately."
(while t
(when (not (accept-process-output process timeout))
(throw 'found nil))
(when (looking-back regexp)
(when (looking-back regexp (point-min))
(throw 'found t))))))
(defun python-shell-comint-end-of-output-p (output)