(find-tag-tag): Pass default to completing-read.
authorRichard M. Stallman <rms@gnu.org>
Wed, 3 Sep 1997 22:30:48 +0000 (22:30 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 3 Sep 1997 22:30:48 +0000 (22:30 +0000)
lisp/progmodes/etags.el

index e66d12d..a16cc97 100644 (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)))