Function: semantic-beginning-of-command-default
semantic-beginning-of-command-default is a byte-compiled function
defined in ctxt.el.gz.
Signature
(semantic-beginning-of-command-default)
Documentation
Move to the beginning 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-beginning-of-command-default ()
"Move to the beginning 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
(with-syntax-table semantic-lex-syntax-table
(let ((case-fold-search semantic-case-fold))
(skip-chars-backward semantic-command-separation-character)
(if (re-search-backward (regexp-quote semantic-command-separation-character)
nil t)
(goto-char (match-end 0))
;; If there wasn't a command after this, we are the last
;; command, and we are incomplete.
(goto-char (point-min)))
(skip-chars-forward " \t\n")
))))