diff options
| author | Eli Zaretskii | 2016-01-16 16:03:03 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2016-01-16 16:03:03 +0200 |
| commit | 44177c133fbbb6ca2d98a66fc9681d682fe8b6d7 (patch) | |
| tree | 9030c0afea60fb00d9e43d618bdbb9f571ba20be | |
| parent | 8515727358110eb6a49579d65d2b684097e79f0c (diff) | |
| download | emacs-44177c133fbbb6ca2d98a66fc9681d682fe8b6d7.tar.gz emacs-44177c133fbbb6ca2d98a66fc9681d682fe8b6d7.zip | |
* doc/lispref/strings.texi (Text Comparison): Document 'string-greaterp'.
| -rw-r--r-- | doc/lispref/strings.texi | 8 | ||||
| -rw-r--r-- | etc/NEWS | 1 |
2 files changed, 8 insertions, 1 deletions
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi index 95723ca4487..091db5e4ebb 100644 --- a/doc/lispref/strings.texi +++ b/doc/lispref/strings.texi | |||
| @@ -571,13 +571,19 @@ no characters is less than any other string. | |||
| 571 | @end example | 571 | @end example |
| 572 | 572 | ||
| 573 | Symbols are also allowed as arguments, in which case their print names | 573 | Symbols are also allowed as arguments, in which case their print names |
| 574 | are used. | 574 | are compared. |
| 575 | @end defun | 575 | @end defun |
| 576 | 576 | ||
| 577 | @defun string-lessp string1 string2 | 577 | @defun string-lessp string1 string2 |
| 578 | @code{string-lessp} is another name for @code{string<}. | 578 | @code{string-lessp} is another name for @code{string<}. |
| 579 | @end defun | 579 | @end defun |
| 580 | 580 | ||
| 581 | @defun string-greaterp string1 string2 | ||
| 582 | This function returns the result of comparing @var{string1} and | ||
| 583 | @var{string2} in the opposite order, i.e., it is equivalent to calling | ||
| 584 | @code{(string-lessp @var{string2} @var{string1})}. | ||
| 585 | @end defun | ||
| 586 | |||
| 581 | @cindex locale-dependent string comparison | 587 | @cindex locale-dependent string comparison |
| 582 | @defun string-collate-lessp string1 string2 &optional locale ignore-case | 588 | @defun string-collate-lessp string1 string2 &optional locale ignore-case |
| 583 | This function returns @code{t} if @var{string1} is less than | 589 | This function returns @code{t} if @var{string1} is less than |
| @@ -1440,6 +1440,7 @@ evaluated (and should return a string) when the closure is built. | |||
| 1440 | *** x-get-selection-value is renamed to gui-get-primary-selection. | 1440 | *** x-get-selection-value is renamed to gui-get-primary-selection. |
| 1441 | *** x-set-selection is renamed to gui-set-selection | 1441 | *** x-set-selection is renamed to gui-set-selection |
| 1442 | 1442 | ||
| 1443 | +++ | ||
| 1443 | ** New function `string-greaterp', which return the opposite result of | 1444 | ** New function `string-greaterp', which return the opposite result of |
| 1444 | `string-lessp'. | 1445 | `string-lessp'. |
| 1445 | 1446 | ||