Function: semantic-complete-pre-command-hook
semantic-complete-pre-command-hook is a byte-compiled function defined
in complete.el.gz.
Signature
(semantic-complete-pre-command-hook)
Documentation
Used to redefine what commands are being run while completing.
When installed as a pre-command-hook the special keymap
semantic-complete-inline-map is queried to replace commands normally run.
Commands which edit what is in the region of interest operate normally.
Commands which would take us out of the region of interest, or our
quit hook, will exit this completion mode.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/complete.el.gz
(defun semantic-complete-pre-command-hook ()
"Used to redefine what commands are being run while completing.
When installed as a `pre-command-hook' the special keymap
`semantic-complete-inline-map' is queried to replace commands normally run.
Commands which edit what is in the region of interest operate normally.
Commands which would take us out of the region of interest, or our
quit hook, will exit this completion mode."
(let ((fcn (lookup-key semantic-complete-inline-map
(this-command-keys) nil)))
(cond ((commandp fcn)
(setq this-command fcn))
(t nil)))
)