diff lisp/progmodes/python.el @ 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 07e279030b6f
children 780b94f913fe
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))))