diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2016-11-08 16:38:21 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2016-11-08 16:38:21 +0000 |
commit | 31b003bdd7d50252410a2329ef19e9618d98f3ca (patch) | |
tree | 9dbf2f1ba5e3ee9edc6c1dd4ec204e4d30580507 | |
parent | 14ccb2fb681efb1f164fb07516cc258bf34459c2 (diff) | |
download | mandoc-31b003bdd7d50252410a2329ef19e9618d98f3ca.tar.gz mandoc-31b003bdd7d50252410a2329ef19e9618d98f3ca.tar.zst mandoc-31b003bdd7d50252410a2329ef19e9618d98f3ca.zip |
use .Fn in custom sections for tagging, in addition to in DESCRIPTION;
written on the TGV Paris-Strassbourg
-rw-r--r-- | mdoc_term.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index e41d9cb5..0f27565a 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.335 2016/11/08 16:29:44 schwarze Exp $ */ +/* $Id: mdoc_term.c,v 1.336 2016/11/08 16:38:21 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010, 2012-2016 Ingo Schwarze <schwarze@openbsd.org> @@ -1462,7 +1462,7 @@ termp_fn_pre(DECL_ARGS) term_word(p, n->string); term_fontpop(p); - if (n->sec == SEC_DESCRIPTION) + if (n->sec == SEC_DESCRIPTION || n->sec == SEC_CUSTOM) tag_put(n->string, ++fn_prio, p->line); if (pretty) { |