Commit d865bc59 authored by Barry Warsaw's avatar Barry Warsaw

#(py-electric-colon): updated comment

parent a6a714eb
...@@ -436,11 +436,11 @@ argument is provided, that many colons are inserted non-electrically." ...@@ -436,11 +436,11 @@ argument is provided, that many colons are inserted non-electrically."
(py-compute-indentation))) (py-compute-indentation)))
) )
(setq outdent py-indent-offset)) (setq outdent py-indent-offset))
;; electric colon won't re-indent lines that start to the left ;; Don't indent, only outdent. This assumes that any lines that
;; of the current computed indentation, under the assumption ;; are already outdented relative to py-compute-indentation were
;; that these are already outdented properly. Use TAB, C-c C-l ;; put there on purpose. Its highly annoying to have `:' indent
;; or C-c C-r to adjust. TBD: Is there a better way to ;; for you. Use TAB, C-c C-l or C-c C-r to adjust. TBD: Is
;; determine this??? ;; there a better way to determine this???
(if (< (current-indentation) indent) nil (if (< (current-indentation) indent) nil
(goto-char here) (goto-char here)
(beginning-of-line) (beginning-of-line)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment