Mercurial > emacs
changeset 55054:ee7e5daa7ffd
(python-maybe-jython): Don't assume point-min==1.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 21 Apr 2004 20:48:47 +0000 |
parents | 70678863af20 |
children | 1df02321d7ad |
files | lisp/progmodes/python.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/python.el Wed Apr 21 19:36:24 2004 +0000 +++ b/lisp/progmodes/python.el Wed Apr 21 20:48:47 2004 +0000 @@ -1415,7 +1415,7 @@ (while (re-search-forward (rx (and line-start (or "import" "from") (1+ space) (group (1+ (not (any " \t\n.")))))) - 10000 ; Probably not worth customizing. + (+ (point-min) 10000) ; Probably not worth customizing. t) (if (member (match-string 1) python-jython-packages) (throw 'done t))))