summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-03-30 07:02:23 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-03-30 07:02:23 -0700
commitcddf617ef0875c4954aab360ea6b971411f57515 (patch)
treeadb4272150b2acc867d99e8e4bc4e69bb4cd4210 /txr.1
parentdb7a58ce5fe476c17dca572902d22fc660e6e401 (diff)
downloadtxr-cddf617ef0875c4954aab360ea6b971411f57515.tar.gz
txr-cddf617ef0875c4954aab360ea6b971411f57515.tar.bz2
txr-cddf617ef0875c4954aab360ea6b971411f57515.zip
doc: incorrect synopsis of push.
* txr.1: Under the summary of place-mutating operations, rewrite the description of push which falsely claims that the pushed item is returned.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.19
1 files changed, 5 insertions, 4 deletions
diff --git a/txr.1 b/txr.1
index 75abc1d5..b0218faa 100644
--- a/txr.1
+++ b/txr.1
@@ -13406,12 +13406,13 @@ and
.metn right-place .
.meIP (push < item << place )
-Pushes
+Adds
.meta item
-into the list stored in
+to the front of the list which is currently stored in
+.codn place ,
+then stores the extended list back into
.code place
-and returns
-.codn item .
+and returns it.
.meIP (pop << place )
Pop the list stored in