* doc/lispref/strings.texi (Text Comparison): Document 'string-greaterp'.

This commit is contained in:
Eli Zaretskii 2016-01-16 16:03:03 +02:00
parent 8515727358
commit 44177c133f
2 changed files with 8 additions and 1 deletions

View file

@ -571,13 +571,19 @@ no characters is less than any other string.
@end example
Symbols are also allowed as arguments, in which case their print names
are used.
are compared.
@end defun
@defun string-lessp string1 string2
@code{string-lessp} is another name for @code{string<}.
@end defun
@defun string-greaterp string1 string2
This function returns the result of comparing @var{string1} and
@var{string2} in the opposite order, i.e., it is equivalent to calling
@code{(string-lessp @var{string2} @var{string1})}.
@end defun
@cindex locale-dependent string comparison
@defun string-collate-lessp string1 string2 &optional locale ignore-case
This function returns @code{t} if @var{string1} is less than

View file

@ -1440,6 +1440,7 @@ evaluated (and should return a string) when the closure is built.
*** x-get-selection-value is renamed to gui-get-primary-selection.
*** x-set-selection is renamed to gui-set-selection
+++
** New function `string-greaterp', which return the opposite result of
`string-lessp'.