Skip to content

Commit

Permalink
Improve prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
greghendershott committed Nov 13, 2024
1 parent e1f03fd commit 1cccf04
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion racket-describe.el
Original file line number Diff line number Diff line change
Expand Up @@ -646,12 +646,13 @@ browser program -- are given `racket-ext-link-face'.
(lambda (v)
(apply racket-doc-index-predicate-function
(get-text-property 0 'racket-affix v))))
(prompt "Search Racket documentation: ")
(require-match t)
(initial-input nil)
(history 'racket-identifier)
(default (racket--thing-at-point 'symbol t))
(history-add-new-input nil)) ;we'll do below
(when-let (str (completing-read "Describe: "
(when-let (str (completing-read prompt
collection
predicate
require-match
Expand Down

0 comments on commit 1cccf04

Please sign in to comment.