Function: semantic-completion-text

semantic-completion-text is a byte-compiled function defined in complete.el.gz.

Signature

(semantic-completion-text)

Documentation

Return the text that is currently in the completion buffer.

For a minibuffer prompt, this is the minibuffer text. For inline completion, this is the text wrapped in the inline completion overlay.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/complete.el.gz
;;; ------------------------------------------------------------
;;; MINIBUFFER or INLINE utils
;;
(defun semantic-completion-text ()
  "Return the text that is currently in the completion buffer.
For a minibuffer prompt, this is the minibuffer text.
For inline completion, this is the text wrapped in the inline completion
overlay."
  (if semantic-complete-inline-overlay
      (semantic-complete-inline-text)
    (minibuffer-contents)))