(python-maybe-jython): Don't assume point-min==1.
This commit is contained in:
parent
b144fc11ec
commit
c3f85d9536
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
t)
|
||||
(if (member (match-string 1) python-jython-packages)
|
||||
(throw 'done t))))
|
||||
|
|
Loading…
Add table
Reference in a new issue