aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-02-02 21:40:45 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-02-02 21:40:45 +0000
commite9d24264e27dc7cfcd1fc87cd2e50cc710121ed5 (patch)
treee45a33bb7cba55f4a325e4e49cd0380a16a0f11a /mdoc.7
parent17d423d4ef829d89f4e0673f7324d66e126702f0 (diff)
downloadmandoc-e9d24264e27dc7cfcd1fc87cd2e50cc710121ed5.tar.gz
mandoc-e9d24264e27dc7cfcd1fc87cd2e50cc710121ed5.tar.zst
mandoc-e9d24264e27dc7cfcd1fc87cd2e50cc710121ed5.zip
If `Ns' is specified on its own line, it should be ignored. This is
shitty groff behaviour. Do the same, but raise a warning to this effect. This from a TODO noted by schwarze@.
Diffstat (limited to 'mdoc.7')
-rw-r--r--mdoc.76
1 files changed, 4 insertions, 2 deletions
diff --git a/mdoc.7 b/mdoc.7
index 32a30f7b..b92803b8 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -1,4 +1,4 @@
-.\" $Id: mdoc.7,v 1.177 2011/01/25 00:40:14 schwarze Exp $
+.\" $Id: mdoc.7,v 1.178 2011/02/02 21:40:45 kristaps Exp $
.\"
.\" Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>
@@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: January 25 2011 $
+.Dd $Mdocdate: February 2 2011 $
.Dt MDOC 7
.Os
.Sh NAME
@@ -2203,6 +2203,8 @@ Suppress a space.
Following invocation, text is interpreted as free-form text until a
macro is encountered.
.Pp
+This has no effect when invoked at the start of a macro line.
+.Pp
Examples:
.Dl \&.Fl o \&Ns \&Ar output
.Pp