diff options
| author | Hong Xu | 2019-10-07 06:03:21 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-10-07 06:03:21 +0200 |
| commit | 273dd6542d96e09f90308187bac341ebaa0c770d (patch) | |
| tree | 3fa76a9448b93e830ca60b14ea03cb4ad49ced47 /doc | |
| parent | a5a967b43dd2810635d7a06ea70510c4a8e5c10f (diff) | |
| download | emacs-273dd6542d96e09f90308187bac341ebaa0c770d.tar.gz emacs-273dd6542d96e09f90308187bac341ebaa0c770d.zip | |
Default FILE to the current buffer for list-tags
* doc/emacs/maintaining.texi (List Identifiers): Update
`list-tags' doc (bug#37611).
* lisp/progmodes/etags.el (list-tags)
(tags--get-current-buffer-name-in-tags-file): Default FILE to the
current buffer for list-tags.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/maintaining.texi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi index 9a9957069fd..519667dfbe9 100644 --- a/doc/emacs/maintaining.texi +++ b/doc/emacs/maintaining.texi | |||
| @@ -2124,7 +2124,9 @@ the selected tags table, and displays a list of tags defined in that | |||
| 2124 | file. Do not include a directory as part of the file name unless the | 2124 | file. Do not include a directory as part of the file name unless the |
| 2125 | file name recorded in the tags table includes a directory. This | 2125 | file name recorded in the tags table includes a directory. This |
| 2126 | command works only with the etags backend, and requires a tags table | 2126 | command works only with the etags backend, and requires a tags table |
| 2127 | for the project to be available. @xref{Tags Tables}. | 2127 | for the project to be available. @xref{Tags Tables}. If used |
| 2128 | interactively, the default tag is file name of the current buffer if | ||
| 2129 | used interactively. | ||
| 2128 | 2130 | ||
| 2129 | @c Sadly, the new-and-improved Xref feature doesn't provide anything | 2131 | @c Sadly, the new-and-improved Xref feature doesn't provide anything |
| 2130 | @c close to the described below features of the now-obsoleted | 2132 | @c close to the described below features of the now-obsoleted |