groff-commit
[Top][All Lists]
Advanced

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

[groff] 25/46: tmac/pdf.tmac: Drop deletion of unused string.


From: G. Branden Robinson
Subject: [groff] 25/46: tmac/pdf.tmac: Drop deletion of unused string.
Date: Wed, 7 Dec 2022 04:32:35 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 322b2fc5a69f90ab2a8ec9caa706f0d27847291a
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Dec 3 16:13:36 2022 -0600

    tmac/pdf.tmac: Drop deletion of unused string.
    
    "pdfmark.tmac" uses `PDFHREF.TEXT`, but this macro file does not, and
    skips itself if pdfmark is in use (line 34).  It seems the name this
    file uses for the same idea is "PDFHREF.DESC", but the color applied to
    it is "PDFHREF.TEXT.COLOUR".  :-/
---
 ChangeLog     | 4 ++++
 tmac/pdf.tmac | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 5fa11f458..3f3003928 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,10 @@
        * tmac/tests/an_link-trailing-text-hugs-previous.sh: Do it.
        * tmac/tmac.am (tmac_TESTS): Run test.
 
+2022-12-03  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * tmac/pdf.tmac: Drop deletion of unused string `PDFHREF.TEXT`.
+
 2022-12-03  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * tmac/an.tmac (an-end, AT, UC, DT, PD, SH, IP, BI, BR, IB, IR)
diff --git a/tmac/pdf.tmac b/tmac/pdf.tmac
index 6d112ae7c..6a2fa7bba 100644
--- a/tmac/pdf.tmac
+++ b/tmac/pdf.tmac
@@ -721,7 +721,7 @@ am solely responsible for any bugs I may have introduced 
into this file.
 .   \" Clean up the temporary registers and strings, used to
 .   \" compute the "hot-spot" bounds, and format the reference,
 .   \"
-.   rm PDFHREF.DESC PDFHREF.TEXT
+.   rm PDFHREF.DESC
 .   \}
 .\"
 .\" But when we identify an INVALID link ...



reply via email to

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