; * lisp/net/dictionary.el (dictionary-search): Fix last change.

This commit is contained in:
Eli Zaretskii 2023-08-12 18:35:24 +03:00
parent d3dae88e6c
commit 7b1eb9d753

View file

@ -1209,11 +1209,12 @@ If PATTERN is omitted, it defaults to \"[ \\f\\t\\n\\r\\v]+\"."
;;;###autoload
(defun dictionary-search (word &optional dictionary)
"Prompt for a word WORD to search for in all dictionaries.
Presents the selection or word at point as default input.
"Search for WORD in all the known dictionaries.
Interactively, prompt for WORD, and offer the word at point as default.
With prefix argument DICTIONARY, prompt for a dictionary and
restrict the search to only that one."
Optional argument DICTIONARY means restrict the search to only
that one dictionary. Interactively, with prefix argument,
prompt for DICTIONARY."
(interactive
(let ((dict
(if current-prefix-arg