diff options
Diffstat (limited to 'lisp/net/dictionary.el')
-rw-r--r-- | lisp/net/dictionary.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/net/dictionary.el b/lisp/net/dictionary.el index b8f5018005b..d381750eb00 100644 --- a/lisp/net/dictionary.el +++ b/lisp/net/dictionary.el @@ -1150,9 +1150,7 @@ It presents the selection or word at point as default input and allows editing it." (interactive (list (let ((default (dictionary-search-default))) - (read-string (if default - (format "Search word (%s): " default) - "Search word: ") + (read-string (format-prompt "Search word" default) nil 'dictionary-word-history default)) (if current-prefix-arg (read-string (if dictionary-default-dictionary |