aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2023-08-12 18:35:24 +0300
committerEli Zaretskii2023-08-12 18:35:24 +0300
commit7b1eb9d753bed5f2891d10efe164eb40ed3ab4fc (patch)
treefde64882dd0baeae9317746c3d6e81f755a47fd6
parentd3dae88e6cc8118c875957ba0347be9599014b34 (diff)
downloademacs-7b1eb9d753bed5f2891d10efe164eb40ed3ab4fc.tar.gz
emacs-7b1eb9d753bed5f2891d10efe164eb40ed3ab4fc.zip
; * lisp/net/dictionary.el (dictionary-search): Fix last change.
-rw-r--r--lisp/net/dictionary.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/net/dictionary.el b/lisp/net/dictionary.el
index 8eb5c142f08..f4a381db75d 100644
--- a/lisp/net/dictionary.el
+++ b/lisp/net/dictionary.el
@@ -1209,11 +1209,12 @@ If PATTERN is omitted, it defaults to \"[ \\f\\t\\n\\r\\v]+\"."
1209 1209
1210;;;###autoload 1210;;;###autoload
1211(defun dictionary-search (word &optional dictionary) 1211(defun dictionary-search (word &optional dictionary)
1212 "Prompt for a word WORD to search for in all dictionaries. 1212 "Search for WORD in all the known dictionaries.
1213Presents the selection or word at point as default input. 1213Interactively, prompt for WORD, and offer the word at point as default.
1214 1214
1215With prefix argument DICTIONARY, prompt for a dictionary and 1215Optional argument DICTIONARY means restrict the search to only
1216restrict the search to only that one." 1216that one dictionary. Interactively, with prefix argument,
1217prompt for DICTIONARY."
1217 (interactive 1218 (interactive
1218 (let ((dict 1219 (let ((dict
1219 (if current-prefix-arg 1220 (if current-prefix-arg