Don't require match

* lisp/progmodes/xref.el (xref--read-identifier): Don't require
match. That doesn't work for every command, and some identifier
completion tables are bound to be imperfect anyway.
This commit is contained in:
Dmitry Gutov 2015-05-06 04:35:46 +03:00
parent a7d630eb48
commit f96313f110

View file

@ -624,7 +624,7 @@ Return an alist of the form ((FILENAME . (XREF ...)) ...)."
(cond ((or current-prefix-arg xref-prompt-for-identifier (not id))
(completing-read prompt
(funcall xref-identifier-completion-table-function)
nil t nil
nil nil nil
'xref--read-identifier-history id))
(t id))))