From: Fabián Ezequiel Gallina Date: Thu, 30 Apr 2015 00:09:58 +0000 (-0300) Subject: python.el: Fix warnings on looking-back calls missing LIMIT X-Git-Tag: emacs-25.0.90~2250 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8b7e2c495af65d28ae1320f52f7a08a6a0920ee1;p=emacs.git 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. --- diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index eb17d075921..2e7410ac833 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -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)