Commit c3f85d95 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(python-maybe-jython): Don't assume point-min==1.

parent b144fc11
......@@ -1415,7 +1415,7 @@ The criterion is either a match for `jython-mode' via
(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.
(if (member (match-string 1) python-jython-packages)
(throw 'done t))))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment