summaryrefslogtreecommitdiffstats
path: root/autoload.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2023-08-17 07:15:55 -0700
committerKaz Kylheku <kaz@kylheku.com>2023-08-17 07:15:55 -0700
commit1a4bdbc566683f0e70412fd75af233526803d0d2 (patch)
tree2810e787cba69552aeca6ed73ccfcdfed291ebb6 /autoload.c
parent927ce14064e931edcf9f55582fd6a4f4b7c0567c (diff)
downloadtxr-1a4bdbc566683f0e70412fd75af233526803d0d2.tar.gz
txr-1a4bdbc566683f0e70412fd75af233526803d0d2.tar.bz2
txr-1a4bdbc566683f0e70412fd75af233526803d0d2.zip
New function: csort-group.
* autoload.c (csort_set_entries): Register csort-group as autoload trigger for stdlib/csort.tl. * stdlib/csort.tl (csort-group): New function. * tests/012/sort.tl: Tests for sort-group and csort-group. * txr.1: Documented. * stdlib/doc-syms.tl: Updated.
Diffstat (limited to 'autoload.c')
-rw-r--r--autoload.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload.c b/autoload.c
index 417f6fb0..b251ae9e 100644
--- a/autoload.c
+++ b/autoload.c
@@ -960,6 +960,7 @@ static val csort_set_entries(val fun)
{
val name[] = {
lit("csort"), lit("cnsort"), lit("cssort"), lit("csnsort"),
+ lit("csort-group"),
nil
};
autoload_set(al_fun, name, fun);