From 31b003bdd7d50252410a2329ef19e9618d98f3ca Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 8 Nov 2016 16:38:21 +0000 Subject: use .Fn in custom sections for tagging, in addition to in DESCRIPTION; written on the TGV Paris-Strassbourg --- mdoc_term.c | 4 ++-- 1 file 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 * Copyright (c) 2010, 2012-2016 Ingo Schwarze @@ -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) { -- cgit v1.2.3-56-ge451