From a766182f0869b04bf12151f314485ea71e274781 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Fri, 2 Aug 1996 16:22:43 +0000 Subject: (py-electric-colon): Use (py-next-statement -1) instead of (forward-line -1), to properly catch continued statements. --- Misc/python-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ Electric behavior is inhibited inside a string or comment." (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)) -- cgit v0.12