diff options
| author | Stefan Monnier | 2015-05-23 12:05:47 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2015-05-23 12:05:47 -0400 |
| commit | 8994590317556a15be6bbb9a5c15227ceda189db (patch) | |
| tree | 0744bda45fc0bf2b82291fbb417765a98b360088 | |
| parent | 669e01b5f630b74f417f12ebebed76c9553dae9b (diff) | |
| download | emacs-8994590317556a15be6bbb9a5c15227ceda189db.tar.gz emacs-8994590317556a15be6bbb9a5c15227ceda189db.zip | |
* lisp/progmodes/xref.el (xref-find-apropos): Use read-string.
| -rw-r--r-- | lisp/progmodes/xref.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index ef46e34e78f..3bb4fde0d0c 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el | |||
| @@ -676,9 +676,9 @@ With prefix argument, prompt for the identifier." | |||
| 676 | (defun xref-find-apropos (pattern) | 676 | (defun xref-find-apropos (pattern) |
| 677 | "Find all meaningful symbols that match PATTERN. | 677 | "Find all meaningful symbols that match PATTERN. |
| 678 | The argument has the same meaning as in `apropos'." | 678 | The argument has the same meaning as in `apropos'." |
| 679 | (interactive (list (read-from-minibuffer | 679 | (interactive (list (read-string |
| 680 | "Search for pattern (word list or regexp): " | 680 | "Search for pattern (word list or regexp): " |
| 681 | nil nil nil 'xref--read-pattern-history))) | 681 | nil 'xref--read-pattern-history))) |
| 682 | (require 'apropos) | 682 | (require 'apropos) |
| 683 | (xref--show-xrefs pattern 'apropos | 683 | (xref--show-xrefs pattern 'apropos |
| 684 | (apropos-parse-pattern | 684 | (apropos-parse-pattern |