diff options
| author | Stefan Monnier | 2004-04-21 20:48:47 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2004-04-21 20:48:47 +0000 |
| commit | c3f85d9536aa964e7c1881e3a7e5c18189d01894 (patch) | |
| tree | e59232b51ca26b4242f2f1a4ff69fbf114adf0ad /lisp/progmodes/python.el | |
| parent | b144fc11ecdf9ce6814d1ad8fc3cac37e3035c3b (diff) | |
| download | emacs-c3f85d9536aa964e7c1881e3a7e5c18189d01894.tar.gz emacs-c3f85d9536aa964e7c1881e3a7e5c18189d01894.zip | |
(python-maybe-jython): Don't assume point-min==1.
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 7a7e62d06ee..a85cd2296ae 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -1415,7 +1415,7 @@ The criterion is either a match for `jython-mode' via | |||
| 1415 | (while (re-search-forward | 1415 | (while (re-search-forward |
| 1416 | (rx (and line-start (or "import" "from") (1+ space) | 1416 | (rx (and line-start (or "import" "from") (1+ space) |
| 1417 | (group (1+ (not (any " \t\n.")))))) | 1417 | (group (1+ (not (any " \t\n.")))))) |
| 1418 | 10000 ; Probably not worth customizing. | 1418 | (+ (point-min) 10000) ; Probably not worth customizing. |
| 1419 | t) | 1419 | t) |
| 1420 | (if (member (match-string 1) python-jython-packages) | 1420 | (if (member (match-string 1) python-jython-packages) |
| 1421 | (throw 'done t)))) | 1421 | (throw 'done t)))) |