aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Potortì2004-09-13 19:56:12 +0000
committerFrancesco Potortì2004-09-13 19:56:12 +0000
commit83a885869f10f34bd9694371c5be43fcf9cca58c (patch)
treecd31689d7385d922cfde88b9d226c5a8a58d8c78
parente057dc50ebf327ff61fc0a634db0e6ff0171a212 (diff)
downloademacs-83a885869f10f34bd9694371c5be43fcf9cca58c.tar.gz
emacs-83a885869f10f34bd9694371c5be43fcf9cca58c.zip
When relative file names are given as argument,
make them relative to the current working dir, rather than relative to the output tags file, if the latter is in /dev.
-rw-r--r--etc/etags.14
-rw-r--r--man/maintaining.texi3
2 files changed, 5 insertions, 2 deletions
diff --git a/etc/etags.1 b/etc/etags.1
index 5bb43707f6e..2a84c622e0e 100644
--- a/etc/etags.1
+++ b/etc/etags.1
@@ -58,7 +58,9 @@ table (defaults: \fBTAGS\fP for \fBetags\fP, \fBtags\fP for
58\fBctags\fP) in the current working directory. 58\fBctags\fP) in the current working directory.
59Files specified with relative file names will be recorded in the tag 59Files specified with relative file names will be recorded in the tag
60table with file names relative to the directory where the tag table 60table with file names relative to the directory where the tag table
61resides. Files specified with absolute file names will be recorded 61resides. If the tag table is in /dev, however, the file names are made
62relative to the working directory. Files specified with absolute file
63names will be recorded
62with absolute file names. Files generated from a source file\-\-like 64with absolute file names. Files generated from a source file\-\-like
63a C file generated from a source Cweb file\-\-will be recorded with 65a C file generated from a source Cweb file\-\-will be recorded with
64the name of the source file. 66the name of the source file.
diff --git a/man/maintaining.texi b/man/maintaining.texi
index 1a8edf13188..7339d6a4f65 100644
--- a/man/maintaining.texi
+++ b/man/maintaining.texi
@@ -445,7 +445,8 @@ well as the files it directly contains.
445directory where the tags file was initially written. This way, you can 445directory where the tags file was initially written. This way, you can
446move an entire directory tree containing both the tags file and the 446move an entire directory tree containing both the tags file and the
447source files, and the tags file will still refer correctly to the source 447source files, and the tags file will still refer correctly to the source
448files. 448files. If the tags file is in /dev, however, the file names are made
449relative to the current working directory.
449 450
450 If you specify absolute file names as arguments to @code{etags}, then 451 If you specify absolute file names as arguments to @code{etags}, then
451the tags file will contain absolute file names. This way, the tags file 452the tags file will contain absolute file names. This way, the tags file