commit | 3aca2a1f1cb1b2d9845d18c2367c5fc891031974 | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Mon Mar 20 18:32:14 1995 +0000 |
committer | Barry Warsaw <barry@python.org> | Mon Mar 20 18:32:14 1995 +0000 |
tree | 4ccc4c1efb77e2017f01b1983650f14be51549d1 | |
parent | cc8914fb2207dfc269aaef046a07366ff3cfc9f1 [diff] [blame] |
(py-electric-colon): use a save-excursion instead of a progn in indentation calculation test.
diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 7c87c35..42cbffd 100644 --- a/Misc/python-mode.el +++ b/Misc/python-mode.el
@@ -431,7 +431,7 @@ (indent (py-compute-indentation))) (if (and (not arg) (py-outdent-p) - (= indent (progn + (= indent (save-excursion (forward-line -1) (py-compute-indentation))) )