summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-02-08 06:40:54 -0800
committerKaz Kylheku <kaz@kylheku.com>2021-02-08 06:40:54 -0800
commit7858f505b1454946ad4b8289d0683a8365167896 (patch)
treef4847e192b68d49d35b632cc7965e99d9a514ca7
parentaede5c4bb805f668c03f068b708b285ca310f53e (diff)
downloadtxr-7858f505b1454946ad4b8289d0683a8365167896.tar.gz
txr-7858f505b1454946ad4b8289d0683a8365167896.tar.bz2
txr-7858f505b1454946ad4b8289d0683a8365167896.zip
doc: document feature of multi-sort.
* txr.1: Document that multi-sort takes a single function in place of a list of one function. This has been a feature of the implementation from the beginning.
-rw-r--r--txr.14
1 files changed, 4 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index e8fd0eeb..5c98279e 100644
--- a/txr.1
+++ b/txr.1
@@ -21677,6 +21677,10 @@ one compare
.codn equal ,
then the corresponding second column elements are compared
using the second column comparison function.
+The
+.meta less-funcs
+argument may be a function object, in which case it is treated as if
+it were a one-element list containing that function object.
The optional
.meta key-funcs