Function: semantic-end-of-command-default
semantic-end-of-command-default is a byte-compiled function defined in
ctxt.el.gz.
Signature
(semantic-end-of-command-default)
Documentation
Move to the end of the current command.
Depends on semantic-command-separation-character to find the
beginning and end of a command.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/ctxt.el.gz
(defun semantic-end-of-command-default ()
"Move to the end of the current command.
Depends on `semantic-command-separation-character' to find the
beginning and end of a command."
(semantic-with-buffer-narrowed-to-context
(let ((case-fold-search semantic-case-fold))
(with-syntax-table semantic-lex-syntax-table
(if (re-search-forward (regexp-quote semantic-command-separation-character)
nil t)
(forward-char -1)
;; If there wasn't a command after this, we are the last
;; command, and we are incomplete.
(goto-char (point-max)))))))