mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
(python-maybe-jython): Don't assume point-min==1.
This commit is contained in:
parent
b144fc11ec
commit
c3f85d9536
@ -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…
Reference in New Issue
Block a user