summaryrefslogtreecommitdiffstats
path: root/lisplib.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-09-14 06:48:35 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-09-14 06:48:35 -0700
commit61617da8db174532055801a7ccdc244b8fb80f2e (patch)
treed2c861b1ce6f5dc35f241451a89068f4fc6cc34d /lisplib.c
parent936463735640b904a97bad5588a12f9d70e88075 (diff)
downloadtxr-61617da8db174532055801a7ccdc244b8fb80f2e.tar.gz
txr-61617da8db174532055801a7ccdc244b8fb80f2e.tar.bz2
txr-61617da8db174532055801a7ccdc244b8fb80f2e.zip
New place-mutating macro: upd.
* lisplib.c (place_set_entries): Add upd to the auto-load list for place.tl. * share/txr/stdlib/place.tl (upd): New macro. * txr.1: Documented.
Diffstat (limited to 'lisplib.c')
-rw-r--r--lisplib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisplib.c b/lisplib.c
index e1b2a9ca..e74c925e 100644
--- a/lisplib.c
+++ b/lisplib.c
@@ -69,7 +69,7 @@ static val place_set_entries(val dlt, val fun)
lit("with-delete-expander"),
lit("set"), lit("pset"), lit("zap"), lit("flip"), lit("inc"), lit("dec"),
lit("push"), lit("pop"), lit("swap"), lit("shift"), lit("rotate"),
- lit("pushnew"), lit("del"), lit("lset"),
+ lit("pushnew"), lit("del"), lit("lset"), lit("upd"),
lit("defplace"), lit("define-place-macro"), lit("define-modify-macro"),
lit("placelet"), lit("placelet*"), lit("define-acessor"),
lit("with-slots"),