Function: senator-end-of-defun
senator-end-of-defun is a byte-compiled function defined in
senator.el.gz.
Signature
(senator-end-of-defun &optional ARG)
Documentation
Move forward to next end of defun.
Use semantic tags to navigate. ARG is the number of tags to navigate (not yet implemented).
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/senator.el.gz
(defun senator-end-of-defun (&optional _arg)
"Move forward to next end of defun.
Use semantic tags to navigate.
ARG is the number of tags to navigate (not yet implemented)."
(semantic-fetch-tags)
(let* ((senator-highlight-found nil)
;; Step at end of next tag with class specified in
;; `senator-step-at-tag-classes'.
(senator-step-at-start-end-tag-classes t)
(tag (senator-next-tag)))
(when tag
(if (= (point) (semantic-tag-start tag))
(goto-char (semantic-tag-end tag)))
(skip-chars-forward " \t")
(if (looking-at "\\s<\\|\n")
(forward-line 1)))))