summaryrefslogtreecommitdiffstats
path: root/stdlib
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-09-03 07:01:03 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-09-03 07:01:03 -0700
commitc8d5fd566e7acc5ed3f42d210d4f494efde0772b (patch)
tree51d85fd5cce309b9ca7fe14eb75a5a45821c4ede /stdlib
parent6cf10bb9919aa27735f7d13539aaa871400777e4 (diff)
downloadtxr-c8d5fd566e7acc5ed3f42d210d4f494efde0772b.tar.gz
txr-c8d5fd566e7acc5ed3f42d210d4f494efde0772b.tar.bz2
txr-c8d5fd566e7acc5ed3f42d210d4f494efde0772b.zip
load: new macros push-after-load and pop-after-load.
* eval.c (me_push_after_load, me_pop_after_load): New static functions. (eval_init): Register push-after-load and pop-after-load intrinsic macros. * tests/019/load-hook.tl: Tests for correct expansion. * txr.1: Documented. * stdlib/doc-syms.tl: Updated.
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/doc-syms.tl2
1 files changed, 2 insertions, 0 deletions
diff --git a/stdlib/doc-syms.tl b/stdlib/doc-syms.tl
index a14a83d6..6243ffaa 100644
--- a/stdlib/doc-syms.tl
+++ b/stdlib/doc-syms.tl
@@ -1430,6 +1430,7 @@
("poll" "N-0386D39D")
("poly" "N-026201AD")
("pop" "N-017F39D2")
+ ("pop-after-load" "N-01F489FE")
("portable-abs-path-p" "N-00477B23")
("pos" "N-02C2BBDB")
("pos-if" "N-02C2BBDB")
@@ -1472,6 +1473,7 @@
("pure-rel-path-p" "N-019DEA44")
("purge-deferred-warning" "N-0077C4FE")
("push" "N-01C211C1")
+ ("push-after-load" "N-01F489FE")
("pushhash" "N-022660B2")
("pushnew" "N-02C37AB0")
("put-buf" "D-007E")