term-dynamic-simple-complete

term-dynamic-simple-complete is a compiled Lisp function in `term.el'.

(term-dynamic-simple-complete STUB CANDIDATES)

This function is obsolete since 23.2;
use `completion-in-region' instead.

Dynamically complete STUB from CANDIDATES list.
This function inserts completion characters at point by completing STUB from
the strings in CANDIDATES. A completions listing may be shown in a help buffer
if completion is ambiguous.

Returns nil if no completion was inserted.
Returns `sole' if completed with the only completion match.
Returns `shortest' if completed with the shortest of the completion matches.
Returns `partial' if completed as far as possible with the completion matches.
Returns `listed' if a completion listing was shown.

See also `term-dynamic-complete-filename'.