Function: semantic-complete-done

semantic-complete-done is an interactive and byte-compiled function defined in complete.el.gz.

Signature

(semantic-complete-done)

Documentation

Accept the current input.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/complete.el.gz
;;; Keybindings
;;
;; Keys are bound to perform completion using our mechanisms.
;; Do that work here.
(defun semantic-complete-done ()
  "Accept the current input."
  (interactive)
  (let ((ans (semantic-complete-current-match)))
    (if (stringp ans)
	(semantic-completion-message (concat " [" ans "]"))
      (exit-minibuffer)))
  )