Function: dictionary-completing-read-word

dictionary-completing-read-word is a byte-compiled function defined in dictionary.el.gz.

Signature

(dictionary-completing-read-word DICTIONARY)

Documentation

Prompt for a word with completion based on matches in DICTIONARY.

Probably introduced at or before Emacs version 30.1.

Source Code

;; Defined in /usr/src/emacs/lisp/net/dictionary.el.gz
(defun dictionary-completing-read-word (dictionary)
  "Prompt for a word with completion based on matches in DICTIONARY."
  (let* ((completion-ignore-case t)
         (dictionary-default-dictionary dictionary)
         (word-at-point (thing-at-point 'word t))
         (default (dictionary-match-word word-at-point)))
    (completing-read (format-prompt dictionary-read-word-prompt default)
                     (external-completion-table 'dictionary-definition
                                                #'dictionary-match-word)
                     nil t nil 'dictionary-word-history default t)))