groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/01: [ms]: Fix typo in macro call.


From: G. Branden Robinson
Subject: [groff] 01/01: [ms]: Fix typo in macro call.
Date: Tue, 4 May 2021 15:56:02 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit f4bcacffe4e50d7d37b5847f4039c63f7f07265f
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed May 5 05:41:33 2021 +1000

    [ms]: Fix typo in macro call.
    
    * tmac/s.tmac (@MC): Actually diagnose and recover when user tries to
      .MC inside a diversion.  Problem dates back at least to groff 1.02,
      June 1991.
---
 ChangeLog   | 5 +++++
 tmac/s.tmac | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 6418207..fbc63a8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2021-05-05  G. Branden Robinson <g.branden.robinson@gmail.com>
 
+       * tmac/s.tmac (@MC): Actually diagnose and recover when user
+       tries to .MC inside a diversion.
+
+2021-05-05  G. Branden Robinson <g.branden.robinson@gmail.com>
+
        * doc/groff.texi (Differences from AT&T ms):
        * doc/ms.ms (Differences from AT&T ms):
        * tmac/groff_ms.7.man (Differences from AT&T ms): Document our
diff --git a/tmac/s.tmac b/tmac/s.tmac
index ff5f902..7910954 100644
--- a/tmac/s.tmac
+++ b/tmac/s.tmac
@@ -527,7 +527,7 @@ along with this program.  If not, see 
<http://www.gnu.org/licenses/>.
 .nr MINGW 2n
 .nr pg@ncols 1
 .de @MC
-.if !'\\n(.z'' .error-recover .MC while diversion open
+.if !'\\n(.z'' .@error-recover .MC while diversion open
 .br
 .ie \\n[pg@ncols]>1 .pg@super-eject
 .el \{\



reply via email to

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