aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)))