Pass id' to
completing-read' as def instead of initial input
* xref.el (xref--read-identifier): Pass `id' to `completing-read' as the default value instead of initial input (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01182.html).
This commit is contained in:
parent
a0f634a5cd
commit
fddff05e88
1 changed files with 2 additions and 2 deletions
|
@ -562,8 +562,8 @@ Return an alist of the form ((FILENAME . (XREF ...)) ...)."
|
|||
(cond ((or current-prefix-arg (not id))
|
||||
(completing-read prompt
|
||||
(funcall xref-identifier-completion-table-function)
|
||||
nil t id
|
||||
'xref--read-identifier-history))
|
||||
nil t nil
|
||||
'xref--read-identifier-history id))
|
||||
(t id))))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue