aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog5
-rw-r--r--doc/emacs/maintaining.texi8
2 files changed, 11 insertions, 2 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 73f1bb9e2f..9b7af92255 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-15 Francesco Potort,Al(B <[email protected]>
+
+ * maintaining.texi (TEXTAGS): note that you can use "-" for stdout with
+ --output=file.
+
2007-11-13 Martin Rudalics <[email protected]>
* help.texi (Help Summary, Apropos, Misc Help): Fix typos.
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi
index 988d5890b8..24337cb6f9 100644
--- a/doc/emacs/maintaining.texi
+++ b/doc/emacs/maintaining.texi
@@ -367,7 +367,10 @@ etags @var{inputfiles}@dots{}
@noindent
The @code{etags} program reads the specified files, and writes a tags
-table named @file{TAGS} in the current working directory.
+table named @file{TAGS} in the current working directory. You can
+optionally specify a different file name for the tags table by using the
+@samp{--output=@var{file}} option; specifying @file{-} as a file name
+prints the tags table to standard output.
If the specified files don't exist, @code{etags} looks for
compressed versions of them and uncompresses them to read them. Under
@@ -406,7 +409,8 @@ well as the files it directly contains.
directory where the tags file was initially written. This way, you can
move an entire directory tree containing both the tags file and the
source files, and the tags file will still refer correctly to the source
-files. If the tags file is in @file{/dev}, however, the file names are
+files. If the tags file is @file{-} or is in the @file{/dev} directory,
+however, the file names are
made relative to the current working directory. This is useful, for
example, when writing the tags to @file{/dev/stdout}.