# HG changeset patch # User Stefan Monnier # Date 1082580527 0 # Node ID ee7e5daa7ffddcea97db9a5070a6515463b52152 # Parent 70678863af201dd555a6948442335ba1683fde8a (python-maybe-jython): Don't assume point-min==1. diff -r 70678863af20 -r ee7e5daa7ffd lisp/progmodes/python.el --- 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))))