diff options
| author | Alexander Gramiak | 2019-06-24 15:54:36 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-06-24 16:08:12 +0200 |
| commit | f9afe8a97eb2b75adf53bb0d7cf2e4f12eb1b3d6 (patch) | |
| tree | dd8056f4f0b40fa27c217ea2419a4bfbfb854eb4 /lib-src | |
| parent | 65d45def8d71e50d111adf1141011a5d30a27447 (diff) | |
| download | emacs-f9afe8a97eb2b75adf53bb0d7cf2e4f12eb1b3d6.tar.gz emacs-f9afe8a97eb2b75adf53bb0d7cf2e4f12eb1b3d6.zip | |
Add Zstandard compression support for etags
* lib-src/etags.c: (compressors): Add zstd support.
(print_language_names): Report zstd support.
* doc/man/etags.1: Update doc.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/etags.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c index d2395cea33a..6165872e4cf 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c | |||
| @@ -519,6 +519,7 @@ static compressor compressors[] = | |||
| 519 | { "GZ", "gzip -d -c"}, | 519 | { "GZ", "gzip -d -c"}, |
| 520 | { "bz2", "bzip2 -d -c" }, | 520 | { "bz2", "bzip2 -d -c" }, |
| 521 | { "xz", "xz -d -c" }, | 521 | { "xz", "xz -d -c" }, |
| 522 | { "zst", "zstd -d -c -q" }, | ||
| 522 | { NULL } | 523 | { NULL } |
| 523 | }; | 524 | }; |
| 524 | 525 | ||
| @@ -861,7 +862,7 @@ followed by the name of an interpreter. If no such sequence is found,\n\ | |||
| 861 | Fortran is tried first; if no tags are found, C is tried next.\n\ | 862 | Fortran is tried first; if no tags are found, C is tried next.\n\ |
| 862 | When parsing any C file, a \"class\" or \"template\" keyword\n\ | 863 | When parsing any C file, a \"class\" or \"template\" keyword\n\ |
| 863 | switches to C++."); | 864 | switches to C++."); |
| 864 | puts ("Compressed files are supported using gzip, bzip2, and xz.\n\ | 865 | puts ("Compressed files are supported using gzip, bzip2, xz, and zstd.\n\ |
| 865 | \n\ | 866 | \n\ |
| 866 | For detailed help on a given language use, for example,\n\ | 867 | For detailed help on a given language use, for example,\n\ |
| 867 | etags --help --lang=ada."); | 868 | etags --help --lang=ada."); |