summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2023-08-22 20:56:23 -0700
committerKaz Kylheku <kaz@kylheku.com>2023-08-22 20:56:23 -0700
commit54fae92333dc3ba9ff4a069c319a63fcc74e84d0 (patch)
treea1de38d6cce7890b2bd49717bf58279630ee490a
parent86e8991db4745c21d383d5ff018ce82c0c3fd725 (diff)
downloadtxr-54fae92333dc3ba9ff4a069c319a63fcc74e84d0.tar.gz
txr-54fae92333dc3ba9ff4a069c319a63fcc74e84d0.tar.bz2
txr-54fae92333dc3ba9ff4a069c319a63fcc74e84d0.zip
genman: move all hashes into do block.
* genman.txr (symhash, tagma, tochash): Define in @(do ...) block with defvar for consistency ith other hashes.
-rw-r--r--genman.txr6
1 files changed, 3 insertions, 3 deletions
diff --git a/genman.txr b/genman.txr
index c5e1a797..d1593cfb 100644
--- a/genman.txr
+++ b/genman.txr
@@ -1,14 +1,14 @@
@# This requires a hacked version of man2html
@# See here: http://www.kylheku.com/cgit/man
-@(bind symhash @(hash :equal-based))
-@(bind tagmap @(hash :equal-based))
-@(bind tochash @(hash :equal-based))
@(bind closedtxt " <TT>[+]</TT>")
@(bind opentxt " <TT>[-]</TT>")
@(bind xpnall "[expand all]")
@(bind clpsall "[collapse all]")
@(bind closed t)
@(do
+ (defvarl symhash (hash))
+ (defvarl tagmap (hash))
+ (defvarl tochash (hash))
(defvarl dupe-hashes (hash))
(defvarl dupe-titles (hash))
(defvarl direct (hash))