(py-electric-colon): use a save-excursion instead of a progn in

indentation calculation test.
This commit is contained in:
Barry Warsaw 1995-03-20 18:32:14 +00:00
parent cc8914fb22
commit 3aca2a1f1c
1 changed files with 1 additions and 1 deletions

View File

@ -431,7 +431,7 @@ argument is provided, that many colons are inserted non-electrically."
(indent (py-compute-indentation)))
(if (and (not arg)
(py-outdent-p)
(= indent (progn
(= indent (save-excursion
(forward-line -1)
(py-compute-indentation)))
)