[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 8b7e2c4: python.el: Fix warnings on looking-back ca
From: |
Fabián Ezequiel Gallina |
Subject: |
[Emacs-diffs] master 8b7e2c4: python.el: Fix warnings on looking-back calls missing LIMIT |
Date: |
Thu, 30 Apr 2015 00:10:23 +0000 |
branch: master
commit 8b7e2c495af65d28ae1320f52f7a08a6a0920ee1
Author: Fabián Ezequiel Gallina <address@hidden>
Commit: Fabián Ezequiel Gallina <address@hidden>
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.
---
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 eb17d07..2e7410a 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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 8b7e2c4: python.el: Fix warnings on looking-back calls missing LIMIT,
Fabián Ezequiel Gallina <=