diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2019-07-19 20:27:25 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2019-07-19 20:27:25 +0000 |
commit | a523088e937ba170e198c1080112d6bfab51a27c (patch) | |
tree | 812f1c422f86af51ed724bebb1ef1522d3b14d3a /regress/mdoc/Aq/author.out_ascii | |
parent | 361a5dfe05f884921758dd16077a5d4a5ff5e3a0 (diff) | |
download | mandoc-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 'regress/mdoc/Aq/author.out_ascii')
0 files changed, 0 insertions, 0 deletions