summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-05 19:25:10 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-05 19:25:10 +0000
commita521030da83c6c6abf0cdf84743c2d381ee503cd (patch)
treedc0bb4b63689b166f01cb8cc9b96a50bb61f561b
parent459509ea1183fb80036d4b161e98fde6a737bf92 (diff)
downloadmandoc-a521030da83c6c6abf0cdf84743c2d381ee503cd.tar.gz
Backed out "-width indent" and "-width indent-two", which aren't
supported by any groff mdoc tmac (and erroneously used in many manuals, hence the confusion).
-rw-r--r--mdoc.76
-rw-r--r--mdoc_term.c4
2 files changed, 0 insertions, 10 deletions
diff --git a/mdoc.7 b/mdoc.7
index ec515668..dbe6e09f 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -527,12 +527,6 @@ file re-write
.Bl -dash -compact
.\" LIST-ITEM
.It
-The \-width argument to
-.Sq \&.Bl
-respects indent and indent-two (groff does too, but does not document
-the fact).
-.\" LIST-ITEM
-.It
Some character sequences in groff are not handled depending on escape
style, e.g.,
.Sq \e(ba
diff --git a/mdoc_term.c b/mdoc_term.c
index 349f5768..f1055069 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -532,10 +532,6 @@ arg_width(const struct mdoc_argv *arg, int pos)
assert(pos < (int)arg->sz && pos >= 0);
assert(arg->value[pos]);
- if (0 == strcmp(arg->value[pos], "indent"))
- return(INDENT + 3);
- if (0 == strcmp(arg->value[pos], "indent-two"))
- return(INDENT * 2 + 2);
if (0 == (len = (int)strlen(arg->value[pos])))
return(0);