From d865bc59843bcdaacd257d87c8382759dd21d9f2 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Wed, 15 Mar 1995 18:23:16 +0000 Subject: [PATCH] #(py-electric-colon): updated comment --- Misc/python-mode.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 15c62a69daf..7c87c35a767 100644 --- a/Misc/python-mode.el +++ b/Misc/python-mode.el @@ -436,11 +436,11 @@ argument is provided, that many colons are inserted non-electrically." (py-compute-indentation))) ) (setq outdent py-indent-offset)) - ;; electric colon won't re-indent lines that start to the left - ;; of the current computed indentation, under the assumption - ;; that these are already outdented properly. Use TAB, C-c C-l - ;; or C-c C-r to adjust. TBD: Is there a better way to - ;; determine this??? + ;; Don't indent, only outdent. This assumes that any lines that + ;; are already outdented relative to py-compute-indentation were + ;; put there on purpose. Its highly annoying to have `:' indent + ;; for you. Use TAB, C-c C-l or C-c C-r to adjust. TBD: Is + ;; there a better way to determine this??? (if (< (current-indentation) indent) nil (goto-char here) (beginning-of-line)