Function: find-exact-completion

find-exact-completion is a byte-compiled function defined in completion.el.gz.

Signature

(find-exact-completion STRING)

Documentation

Return the completion entry for STRING or nil.

Sets up cmpl-db-downcase-string and cmpl-db-symbol.

Source Code

;; Defined in /usr/src/emacs/lisp/completion.el.gz
;; READS
(defun find-exact-completion (string)
  "Return the completion entry for STRING or nil.
Sets up `cmpl-db-downcase-string' and `cmpl-db-symbol'."
  (and (boundp (setq cmpl-db-symbol
		     (intern (setq cmpl-db-downcase-string (downcase string))
			     cmpl-obarray)))
       (symbol-value cmpl-db-symbol)))