groff-commit
[Top][All Lists]
Advanced

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

[groff] 11/45: tmac/tty-char.tmac: Drop redundant logic.


From: G. Branden Robinson
Subject: [groff] 11/45: tmac/tty-char.tmac: Drop redundant logic.
Date: Thu, 20 Jan 2022 10:17:48 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 4ed40c881074b3701e097001c3cc0d2d4ce11884
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Jan 15 09:40:24 2022 +1100

    tmac/tty-char.tmac: Drop redundant logic.
    
    * tmac/tty-char.tmac: Drop redundant logic.  We don't need to source the
      `cp1047` or `latin1` files here; `troffrc` will already have loaded
      `tty` for us, which already does so.
    
    Also drop old style Emacs file-local variable setting.
---
 ChangeLog          | 6 ++++++
 tmac/tty-char.tmac | 7 -------
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 50bb38dc..3320f3a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-01-15  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * tmac/tty-char.tmac: Drop redundant logic.  We don't need to
+       source the `cp1047` or `latin1` files here; `troffrc` will
+       already have loaded `tty` for us, which already does so.
+
 2022-01-14  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * doc/doc.am: Separate concerns better; stop re-generating plain
diff --git a/tmac/tty-char.tmac b/tmac/tty-char.tmac
index 0f1466c1..8eb3c4fb 100644
--- a/tmac/tty-char.tmac
+++ b/tmac/tty-char.tmac
@@ -1,5 +1,3 @@
-.\" -*- nroff -*-
-.\"
 .\" tty-char.tmac
 .\"
 .\" This file defines standard troff characters and some groff
@@ -244,11 +242,6 @@
 .tty-char \[arrowvertex] |
 .tty-char \[mc] <micro>
 .
-.ie '\*(.T'cp1047' \
-.      mso cp1047.tmac
-.el \
-.      mso latin1.tmac
-.
 .cp \n[*groff_tty-char_tmac_C]
 .do rr *groff_tty-char_tmac_C
 .



reply via email to

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