diff options
author | Barry Warsaw <barry@python.org> | 1995-03-15 18:23:16 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1995-03-15 18:23:16 (GMT) |
commit | d865bc59843bcdaacd257d87c8382759dd21d9f2 (patch) | |
tree | b08e0d77a8e473d9dede6236a2b659a281ccb4f9 /Misc | |
parent | a6a714eb3babc4e571232ce9c3cf96b3eafb8cd4 (diff) | |
download | cpython-d865bc59843bcdaacd257d87c8382759dd21d9f2.zip cpython-d865bc59843bcdaacd257d87c8382759dd21d9f2.tar.gz cpython-d865bc59843bcdaacd257d87c8382759dd21d9f2.tar.bz2 |
#(py-electric-colon): updated comment
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/python-mode.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 15c62a6..7c87c35 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) |