aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-09-03 22:30:48 +0000
committerRichard M. Stallman1997-09-03 22:30:48 +0000
commitab685b6b9f8768aeae44bdd764d8e22c2944134e (patch)
tree1d187d4798c3b061e1f4cc573693f6d88a609804
parentae302641c2aab9e0ffb1ce425f9b6d1368faaf59 (diff)
downloademacs-ab685b6b9f8768aeae44bdd764d8e22c2944134e.tar.gz
emacs-ab685b6b9f8768aeae44bdd764d8e22c2944134e.zip
(find-tag-tag): Pass default to completing-read.
-rw-r--r--lisp/progmodes/etags.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
index e66d12d07f2..a16cc974986 100644
--- a/lisp/progmodes/etags.el
+++ b/lisp/progmodes/etags.el
@@ -683,7 +683,8 @@ Assumes the tags table is the current buffer."
683 (spec (completing-read (if default 683 (spec (completing-read (if default
684 (format "%s(default %s) " string default) 684 (format "%s(default %s) " string default)
685 string) 685 string)
686 'tags-complete-tag))) 686 'tags-complete-tag
687 nil nil nil nil default)))
687 (if (equal spec "") 688 (if (equal spec "")
688 (or default (error "There is no default tag")) 689 (or default (error "There is no default tag"))
689 spec))) 690 spec)))