diff options
| author | Fabián Ezequiel Gallina | 2015-04-29 21:09:58 -0300 |
|---|---|---|
| committer | Fabián Ezequiel Gallina | 2015-04-29 21:09:58 -0300 |
| commit | 8b7e2c495af65d28ae1320f52f7a08a6a0920ee1 (patch) | |
| tree | 79b0afcf13ef42b93d322c64ab0179fe18793a94 | |
| parent | c1d30c4b132d851c298c52d8c275e43da36ab70f (diff) | |
| download | emacs-8b7e2c495af65d28ae1320f52f7a08a6a0920ee1.tar.gz emacs-8b7e2c495af65d28ae1320f52f7a08a6a0920ee1.zip | |
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.
| -rw-r--r-- | lisp/progmodes/python.el | 2 |
1 files changed, 1 insertions, 1 deletions
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." | |||
| 2268 | (while t | 2268 | (while t |
| 2269 | (when (not (accept-process-output process timeout)) | 2269 | (when (not (accept-process-output process timeout)) |
| 2270 | (throw 'found nil)) | 2270 | (throw 'found nil)) |
| 2271 | (when (looking-back regexp) | 2271 | (when (looking-back regexp (point-min)) |
| 2272 | (throw 'found t)))))) | 2272 | (throw 'found t)))))) |
| 2273 | 2273 | ||
| 2274 | (defun python-shell-comint-end-of-output-p (output) | 2274 | (defun python-shell-comint-end-of-output-p (output) |