groff-commit
[Top][All Lists]
Advanced

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

[groff] 18/26: tmac/an.tmac: Fix code style nit.


From: G. Branden Robinson
Subject: [groff] 18/26: tmac/an.tmac: Fix code style nit.
Date: Sun, 18 Dec 2022 20:41:33 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 7fd9e589d86b6916a254a03cc359db6281c7aaf0
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Dec 18 10:50:51 2022 -0600

    tmac/an.tmac: Fix code style nit.
    
    * tmac/an.tmac: Fix code style nit: use `as` requests to avoid overlong
      input lines.
---
 ChangeLog    |  5 +++++
 tmac/an.tmac | 12 ++++++++----
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 26e3860b3..b60bc4a39 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-12-18  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * tmac/an.tmac: Fix code style nit: use `as` requests to
+       avoid overlong input lines.
+
 2022-12-17  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * tmac/doc.tmac: Inform user we're ignoring their "-rD1" setting
diff --git a/tmac/an.tmac b/tmac/an.tmac
index 9d9202cd6..c778369f4 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -1371,11 +1371,15 @@ contains unsupported escape sequence
 .    ie (\n[FT] : (\n[FT] = 0)) \
 .      ds an-msg non-negative footer distance: \n[FT]u\*[an*help]\"
 .    el \{\
-.      ie (-(\n[FT]) > (\n[.p] / 2)) \
-.        ds an-msg implausibly large footer distance: \n[FT]u\*[an*help]\"
+.      ie (-(\n[FT]) > (\n[.p] / 2)) \{\
+.        ds an-msg implausibly large footer distance:\"
+.        as an-msg " \n[FT]u\*[an*help]\"
+.      \}
 .      el \
-.        if (-(\n[FT]) < 1v) \
-.          ds an-msg implausibly small footer distance: \n[FT]u\*[an*help]\"
+.        if (-(\n[FT]) < 1v) \{\
+.          ds an-msg implausibly small footer distance:\"
+.          as an-msg " \n[FT]u\*[an*help]\"
+.        \}
 .    rm an*help
 .    rr an*tmp
 .    \}



reply via email to

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