]> git.eshelyaron.com Git - emacs.git/commit
Add customization options for dictionary-search
authorEshel Yaron <me@eshelyaron.com>
Mon, 15 May 2023 18:04:21 +0000 (21:04 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 26 May 2023 09:12:44 +0000 (12:12 +0300)
commitf35648ba0c0f7dac78ea1d1aaad80471238b7ace
tree95868148ce26279788e9502fb9fc79a698a75418
parent4b3de748b0b04407d2492500c77905de56de1180
Add customization options for dictionary-search

Allow users to customize 'dictionary-search' via several new
customization options.

* lisp/net/dictionary.el (dictionary-define-word)
(dictionary-match-word, dictionary-completing-read-word)
(dictionary-dictionaries, dictionary-completing-read-dictionary)
(dictionary-display-definition-in-help-buffer): New functions.
(dictionary-read-word-prompt)
(dictionary-display-definition-function)
(dictionary-read-word-function)
(dictionary-read-dictionary-function)
(dictionary-search-interface): New user options.
(dictionary-search): Use them.
(dictionary-read-dictionary-default)
(dictionary-read-word-default): New functions, extracted from
'dictionary-search'.
* etc/NEWS: Announce.
etc/NEWS
lisp/net/dictionary.el