Function: wisent-python-end-of-block
wisent-python-end-of-block is a byte-compiled function defined in
python.el.gz.
Signature
(wisent-python-end-of-block)
Documentation
Move point to the end of the current block.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/wisent/python.el.gz
(defun wisent-python-end-of-block ()
"Move point to the end of the current block."
(let ((indent (current-indentation)))
(while (and (not (eobp)) (>= (current-indentation) indent))
(wisent-python-forward-line-skip-indented))
;; Don't include final comments in current block bounds
(forward-comment (- (point-max)))
(or (bolp) (forward-line 1))
))