diff options
| author | Hong Xu | 2019-10-08 18:43:47 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-10-08 18:43:56 +0200 |
| commit | ba57f1a4273cabb53cbae86ad34b0a4bf01e1513 (patch) | |
| tree | 902d530795e2ecc156390e61663b83301ab17c6d /doc | |
| parent | 1793d4979b3a38fd9ece1412cbc9ff2d2ed3ab3f (diff) | |
| download | emacs-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.texi | 11 |
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 |
| 2670 | commands for working with tags tables use the selected one. To select | 2670 | the commands for working with tags tables use the selected one. To |
| 2671 | a tags table, type @kbd{M-x visit-tags-table}, which reads the tags | 2671 | select a tags table, type @kbd{M-x visit-tags-table}, which reads the |
| 2672 | table file name as an argument, with @file{TAGS} in the default | 2672 | tags table file name as an argument, with @file{TAGS} defaulting to |
| 2673 | directory as the default. | 2673 | the first directory that contains a file named @file{TAGS} encountered |
| 2674 | when 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 |