Function: completion-search-reset
completion-search-reset is a byte-compiled function defined in
completion.el.gz.
Signature
(completion-search-reset STRING)
Documentation
Set up the for completion searching for STRING.
STRING must be longer than completion-prefix-min-length.
Source Code
;; Defined in /usr/src/emacs/lisp/completion.el.gz
;; "A downcased list of all the completions we have tried."
(defun completion-search-reset (string)
"Set up the for completion searching for STRING.
STRING must be longer than `completion-prefix-min-length'."
(if completion-to-accept (accept-completion))
(setq cmpl-starting-possibilities
(cmpl-prefix-entry-head
(find-cmpl-prefix-entry
(downcase (substring string 0 completion-prefix-min-length))))
cmpl-test-string string
cmpl-test-regexp (concat (regexp-quote string) "."))
(completion-search-reset-1))