Variable: dictionary-read-word-function

dictionary-read-word-function is a customizable variable defined in dictionary.el.gz.

Value

dictionary-read-word-default

Documentation

Function to use for prompting for a word.

It is called with one string argument, the name of the dictionary to use, and must return a string.

This variable was added, or its default value changed, in Emacs 30.1.

Probably introduced at or before Emacs version 30.1.

Source Code

;; Defined in /usr/src/emacs/lisp/net/dictionary.el.gz
(defcustom dictionary-read-word-function #'dictionary-read-word-default
  "Function to use for prompting for a word.
It is called with one string argument, the name of the dictionary to use, and
must return a string."
  :type '(choice (const :tag "Default" dictionary-read-word-default)
                 (const :tag "Dictionary-based completion"
                        dictionary-completing-read-word)
                 (function :tag "Custom function"))
  :version "30.1")