aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorHong Xu2019-10-07 06:03:21 +0200
committerLars Ingebrigtsen2019-10-07 06:03:21 +0200
commit273dd6542d96e09f90308187bac341ebaa0c770d (patch)
tree3fa76a9448b93e830ca60b14ea03cb4ad49ced47 /doc
parenta5a967b43dd2810635d7a06ea70510c4a8e5c10f (diff)
downloademacs-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.texi4
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
2124file. Do not include a directory as part of the file name unless the 2124file. Do not include a directory as part of the file name unless the
2125file name recorded in the tags table includes a directory. This 2125file name recorded in the tags table includes a directory. This
2126command works only with the etags backend, and requires a tags table 2126command works only with the etags backend, and requires a tags table
2127for the project to be available. @xref{Tags Tables}. 2127for the project to be available. @xref{Tags Tables}. If used
2128interactively, the default tag is file name of the current buffer if
2129used 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