aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorHong Xu2019-10-08 18:43:47 +0200
committerLars Ingebrigtsen2019-10-08 18:43:56 +0200
commitba57f1a4273cabb53cbae86ad34b0a4bf01e1513 (patch)
tree902d530795e2ecc156390e61663b83301ab17c6d /doc
parent1793d4979b3a38fd9ece1412cbc9ff2d2ed3ab3f (diff)
downloademacs-ba57f1a4273cabb53cbae86ad34b0a4bf01e1513.tar.gz
emacs-ba57f1a4273cabb53cbae86ad34b0a4bf01e1513.zip
Search upward from current dir for the default TAGS file
* doc/emacs/maintaining.texi (Select Tags Table): Update the doc of `visit-tags-table' (bug#37518). * lisp/progmodes/etags.el (tags--find-default-tags-dir-recursively) (visit-tags-table): Search upward from current dir for the default TAGS file.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/maintaining.texi11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi
index 519667dfbe9..ef448dd595b 100644
--- a/doc/emacs/maintaining.texi
+++ b/doc/emacs/maintaining.texi
@@ -2666,11 +2666,12 @@ etags --language=none \
2666@subsection Selecting a Tags Table 2666@subsection Selecting a Tags Table
2667 2667
2668@findex visit-tags-table 2668@findex visit-tags-table
2669 Emacs has at any time at most one @dfn{selected} tags table. All the 2669 Emacs has at any time at most one @dfn{selected} tags table. All
2670commands for working with tags tables use the selected one. To select 2670the commands for working with tags tables use the selected one. To
2671a tags table, type @kbd{M-x visit-tags-table}, which reads the tags 2671select a tags table, type @kbd{M-x visit-tags-table}, which reads the
2672table file name as an argument, with @file{TAGS} in the default 2672tags table file name as an argument, with @file{TAGS} defaulting to
2673directory as the default. 2673the first directory that contains a file named @file{TAGS} encountered
2674when recursively searching upward from the default directory.
2674 2675
2675@vindex tags-file-name 2676@vindex tags-file-name
2676 Emacs does not actually read in the tags table contents until you 2677 Emacs does not actually read in the tags table contents until you