Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
ab685b6b
Commit
ab685b6b
authored
Sep 03, 1997
by
Richard M. Stallman
Browse files
(find-tag-tag): Pass default to completing-read.
parent
ae302641
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lisp/progmodes/etags.el
lisp/progmodes/etags.el
+2
-1
No files found.
lisp/progmodes/etags.el
View file @
ab685b6b
...
...
@@ -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
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment