Variable: dictionary-search-interface
dictionary-search-interface is a customizable variable defined in
dictionary.el.gz.
Value
nil
Documentation
Controls how dictionary-search prompts for words and displays definitions.
When set to help, dictionary-search displays definitions in a *Help* buffer,
and provides completion for word selection based on dictionary matches.
Otherwise, dictionary-search displays definitions in a *Dictionary* buffer.
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-search-interface nil
"Controls how `dictionary-search' prompts for words and displays definitions.
When set to `help', `dictionary-search' displays definitions in a *Help* buffer,
and provides completion for word selection based on dictionary matches.
Otherwise, `dictionary-search' displays definitions in a *Dictionary* buffer."
:type '(choice (const :tag "Dictionary buffer" nil)
(const :tag "Help buffer" help))
:set (lambda (symbol value)
(let ((vals (pcase value
('help '(dictionary-display-definition-in-help-buffer
dictionary-completing-read-word
dictionary-completing-read-dictionary))
(_ '(nil
dictionary-read-word-default
dictionary-read-dictionary-default)))))
(seq-setq (dictionary-display-definition-function
dictionary-read-word-function
dictionary-read-dictionary-function)
vals))
(set-default-toplevel-value symbol value))
:initialize #'custom-initialize-changed
:version "30.1")