Commit 89945903 authored by Stefan Monnier's avatar Stefan Monnier

* lisp/progmodes/xref.el (xref-find-apropos): Use read-string.

parent 669e01b5
......@@ -676,9 +676,9 @@ With prefix argument, prompt for the identifier."
(defun xref-find-apropos (pattern)
"Find all meaningful symbols that match PATTERN.
The argument has the same meaning as in `apropos'."
(interactive (list (read-from-minibuffer
(interactive (list (read-string
"Search for pattern (word list or regexp): "
nil nil nil 'xref--read-pattern-history)))
nil 'xref--read-pattern-history)))
(require 'apropos)
(xref--show-xrefs pattern 'apropos
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment