groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 12/16: tmac/doc.tmac (Nm): Fix `if` -> `ie` typo/thinko.


From: G. Branden Robinson
Subject: [groff] 12/16: tmac/doc.tmac (Nm): Fix `if` -> `ie` typo/thinko.
Date: Wed, 14 Dec 2022 21:12:15 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 4b923a92e4f5958796ea321fcf1aeddf5f914a21
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Dec 14 18:20:08 2022 -0600

    tmac/doc.tmac (Nm): Fix `if` -> `ie` typo/thinko.
    
    Fixes <https://savannah.gnu.org/bugs/?63527>.  Thanks to John Gardner
    for the report.
---
 ChangeLog     | 7 +++++++
 tmac/doc.tmac | 4 +++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index ee500c059..8bdd340a9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2022-12-15  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * tmac/doc.tmac (Nm): Fix `if` -> `ie` typo/thinko.
+
+       Fixes <https://savannah.gnu.org/bugs/?63527>.  Thanks to John
+       Gardner for the report.
+
 2022-12-15  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * tmac/tests/doc_Nm-works.sh: Add more checks.
diff --git a/tmac/doc.tmac b/tmac/doc.tmac
index 4d72d6509..8fd662c07 100644
--- a/tmac/doc.tmac
+++ b/tmac/doc.tmac
@@ -201,6 +201,8 @@
 .
 .\" NS doc-arg-count global register
 .\" NS   total number of arguments
+.\" XXX: This register name and description aren't quite right, but its
+.\" old name `doc-arg-limit` doesn't seem accurate either.  Demystify.
 .
 .nr doc-arg-count 0
 .
@@ -1085,7 +1087,7 @@
 .    ie \n[.$] \{\
 .      \" Handle '.Nm ...' in "Name" section: don't use a special font.
 .      ie \n[doc-in-name-section] \{\
-.        ie "\*[doc-topic-name]"" \
+.        if "\*[doc-topic-name]"" \
 .          ds doc-topic-name "\$1\"
 .        No \$@
 .      \}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]