From e9817d1eee252f2a60704c140932abd01803441b Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 27 Jun 2017 12:18:00 +0000 Subject: warn about .Ns macros that have no effect because they are followed by an isolated closing delimiter; inspired by mdoclint --- mandoc.1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mandoc.1') diff --git a/mandoc.1 b/mandoc.1 index 1d731558..4d5eeb94 100644 --- a/mandoc.1 +++ b/mandoc.1 @@ -1175,7 +1175,9 @@ The paragraph macro is moved after the end of the list. .Pq mdoc An input line begins with an .Ic \&Ns -macro. +macro, or the next argument after an +.Ic \&Ns +macro is an isolated closing delimiter. The macro is ignored. .It Sy "blocks badly nested" .Pq mdoc -- cgit