(find-tag-tag): Pass default to completing-read.

This commit is contained in:
Richard M. Stallman 1997-09-03 22:30:48 +00:00
parent ae302641c2
commit ab685b6b9f

View file

@ -683,7 +683,8 @@ Assumes the tags table is the current buffer."
(spec (completing-read (if default
(format "%s(default %s) " string default)
string)
'tags-complete-tag)))
'tags-complete-tag
nil nil nil nil default)))
(if (equal spec "")
(or default (error "There is no default tag"))
spec)))