gbranden pushed a commit to branch master
in repository groff.

commit bb7e1f18f5b819103df01113a5111ab33fc969ac
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Jul 29 00:04:59 2022 -0500

    [mm]: Remove pointless conditionals.
    
    * contrib/mm/m.tmac: Remove pointless conditionals in initialization.
      Simplify if-else request pairs that did the same thing in both
      branches.
---
 contrib/mm/ChangeLog | 6 ++++++
 contrib/mm/m.tmac    | 6 ++----
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog
index 8b487d0be..4bcb9b7e6 100644
--- a/contrib/mm/ChangeLog
+++ b/contrib/mm/ChangeLog
@@ -1,3 +1,9 @@
+2022-07-29  G. Branden Robinson <[email protected]>
+
+       * m.tmac: Remove pointless conditionals in initialization.
+       Simplify if-else request pairs that did the same thing in both
+       branches.
+
 2022-07-28  G. Branden Robinson <[email protected]>
 
        * groff_mm.7.man: Document `NE` macro.
diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac
index 492d0fd56..04265222d 100644
--- a/contrib/mm/m.tmac
+++ b/contrib/mm/m.tmac
@@ -190,15 +190,13 @@ Index             array!index
 .\"
 .\"    Page length
 .if r L \{\
-.      ie n .pl \n[L]u
-.      el .pl \n[L]u
+.      pl \n[L]u
 .\}
 .nr @pl \n[.p]
 .\"
 .\"    page width
 .ie r W \{\
-.      ie n .ll \n[W]u
-.      el .ll \n[W]u
+.      ll \n[W]u
 .\}
 .el .ll 6i
 .nr @ll \n[.l]

_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to