summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
Diffstat (limited to 'txr.1')
-rw-r--r--txr.110
1 files changed, 7 insertions, 3 deletions
diff --git a/txr.1 b/txr.1
index 26568b71..75695f3e 100644
--- a/txr.1
+++ b/txr.1
@@ -17971,7 +17971,7 @@ and
The
.code less
function is capable of comparing numbers, characters, symbols, strings,
-as well as lists and vectors of these.
+as well as lists and vectors of these. It can also compare buffers.
If both arguments are the same object so that
.mono
@@ -18047,7 +18047,6 @@ Note that the empty
list nil compared to a cons is handled by type-based precedence, described
below.
-
Two vectors are compared by
.code less
lexicographically, similarly
@@ -18063,6 +18062,10 @@ is the outcome of comparing those differing elements themselves
with
.codn less .
+Two buffers are also compared by
+.code less
+lexicographically, as if they were vectors of integer byte values.
+
Two ranges are compared by
.code less
using lexicographic logic similar to conses and vectors.
@@ -18088,7 +18091,8 @@ then
.code less
resolves the situation based on the following precedence: numbers and
characters are less than ranges, which are less than strings, which are less
-than symbols, which are less than conses, which are less than vectors.
+than symbols, which are less than conses, which are less than vectors,
+which are less than buffers.
Note that since
.code nil