summaryrefslogtreecommitdiffstats
path: root/Makefile.depend
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-07-19 20:27:25 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-07-19 20:27:25 +0000
commita523088e937ba170e198c1080112d6bfab51a27c (patch)
tree812f1c422f86af51ed724bebb1ef1522d3b14d3a /Makefile.depend
parent361a5dfe05f884921758dd16077a5d4a5ff5e3a0 (diff)
downloadmandoc-a523088e937ba170e198c1080112d6bfab51a27c.tar.gz
If no tags were generated at all, unlink(2) the empty tags file as
soon as the condition can be detected and do not pass it to less(1). This may happen for man(7) pages, for preformatted pages, and for very simple pages like true(1). The main benefit is that :t inside less(1) yields the clearer diagnostic message "No tags file" rather than the mildly confusing "No such tag in tags file": the latter might encourage further, futile attempts to jump to other tags. Improvement suggested by Leah Neukirchen <leah at vuxu dot org> from The Void.
Diffstat (limited to 'Makefile.depend')
0 files changed, 0 insertions, 0 deletions