diff options
| author | Roland McGrath | 1993-10-18 07:54:49 +0000 |
|---|---|---|
| committer | Roland McGrath | 1993-10-18 07:54:49 +0000 |
| commit | 76c077475339ccfa407e76190f589c350e2a93da (patch) | |
| tree | c03e2762f7d5f0f72dedf39f039990faae104bec | |
| parent | 97b83d9daa6e84b4ea23413dff3159e328a940aa (diff) | |
| download | emacs-76c077475339ccfa407e76190f589c350e2a93da.tar.gz emacs-76c077475339ccfa407e76190f589c350e2a93da.zip | |
(list-tags): Fix completing-read call interactive spec; TABLE and PREDICATE
args were reversed, and more processing was needed on tags-table-files.
| -rw-r--r-- | lisp/progmodes/etags.el | 7 |
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. |
| 1250 | FILE should not contain a directory specification | 1250 | FILE should not contain a directory specification |
| 1251 | unless it has one in the tags table." | 1251 | unless 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) |