aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/etags.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
index 93fa039c505..2271614fd94 100644
--- a/lisp/progmodes/etags.el
+++ b/lisp/progmodes/etags.el
@@ -1249,8 +1249,11 @@ See documentation of variable `tags-file-name'."
1249 "Display list of tags in file FILE. 1249 "Display list of tags in file FILE.
1250FILE should not contain a directory specification 1250FILE should not contain a directory specification
1251unless it has one in the tags table." 1251unless it has one in the tags table."
1252 (interactive (list (completing-read "List tags in file: " nil 1252 (interactive (list (completing-read "List tags in file: "
1253 'tags-table-files t nil))) 1253 (save-excursion
1254 (visit-tags-table-buffer)
1255 (mapcar 'list (tags-table-files)))
1256 nil t nil)))
1254 (with-output-to-temp-buffer "*Tags List*" 1257 (with-output-to-temp-buffer "*Tags List*"
1255 (princ "Tags in file ") 1258 (princ "Tags in file ")
1256 (princ file) 1259 (princ file)