[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 44177c1: * doc/lispref/strings.texi (Text Compari
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-25 44177c1: * doc/lispref/strings.texi (Text Comparison): Document 'string-greaterp'. |
Date: |
Sat, 16 Jan 2016 14:03:46 +0000 |
branch: emacs-25
commit 44177c133fbbb6ca2d98a66fc9681d682fe8b6d7
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
* doc/lispref/strings.texi (Text Comparison): Document 'string-greaterp'.
---
doc/lispref/strings.texi | 8 +++++++-
etc/NEWS | 1 +
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi
index 95723ca..091db5e 100644
--- a/doc/lispref/strings.texi
+++ b/doc/lispref/strings.texi
@@ -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
address@hidden string-greaterp string1 string2
+This function returns the result of comparing @var{string1} and
address@hidden in the opposite order, i.e., it is equivalent to calling
address@hidden(string-lessp @var{string2} @var{string1})}.
address@hidden 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
diff --git a/etc/NEWS b/etc/NEWS
index eac5b7e..3f867a0 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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'.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 44177c1: * doc/lispref/strings.texi (Text Comparison): Document 'string-greaterp'.,
Eli Zaretskii <=