commit | a766182f0869b04bf12151f314485ea71e274781 | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Fri Aug 02 16:22:43 1996 +0000 |
committer | Barry Warsaw <barry@python.org> | Fri Aug 02 16:22:43 1996 +0000 |
tree | d46f4fe120996940f1d81638638115496fc866e6 | |
parent | bbe04d0f9fb3b6c2fa5e64cd6a290ab94f4a70f5 [diff] [blame] |
(py-electric-colon): Use (py-next-statement -1) instead of (forward-line -1), to properly catch continued statements.
diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 5c56e0a..e4b6e67 100644 --- a/Misc/python-mode.el +++ b/Misc/python-mode.el
@@ -756,7 +756,7 @@ (if (and (not arg) (py-outdent-p) (= indent (save-excursion - (forward-line -1) + (py-next-statement -1) (py-compute-indentation))) ) (setq outdent py-indent-offset))