aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorEli Zaretskii2024-10-08 15:39:33 +0300
committerEli Zaretskii2024-10-08 15:39:33 +0300
commit339ffd79862c322f5b75fed1b55d61efe90bc7a1 (patch)
treecd04c286e6c0e9346cce40bce16186490c1e4fa5 /src/coding.c
parent9c94363894ced4ed84014cf0dc347af7882643e6 (diff)
downloademacs-339ffd79862c322f5b75fed1b55d61efe90bc7a1.tar.gz
emacs-339ffd79862c322f5b75fed1b55d61efe90bc7a1.zip
New command-line options for 'etags'
This adds '--no-fallback-lang' and '--no-empty-file-entries' options, and their opposites '--fallback-lang' and '--empty-file-entries'. * lib-src/etags.c (fallback_lang, empty_files): New toggles. (main): Initialize them to 'true'. (longopts) [!CTAGS]: Add the '--(no-)fallback-lang' and '--(no-)empty-file-entries' options. (find_entries): If 'fallback_lang' is false, don't attempt Fortran and C/C++ fallbacks. (print_help): Add help for new options. (main): If 'empty_files' is false, don't output file entries for files that have no tags. (Bug#73484) * doc/emacs/maintaining.texi (Create Tags Table): * etc/NEWS: * doc/man/etags.1: Document the new options. * test/manual/etags/Makefile (check): Add test for new options. * test/manual/etags/ETAGS.good_7: New file.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions