diff options
| author | Rüdiger Sonderfeld | 2014-01-09 17:54:54 +0100 |
|---|---|---|
| committer | Rüdiger Sonderfeld | 2014-01-09 17:54:54 +0100 |
| commit | fa49b46991ddc7c30c0aa526ad8966bddccc26e1 (patch) | |
| tree | c61ecd613acf1eab5bf1e640602bc2153ad4d3bc | |
| parent | fb14cb489aba648435c879dc83a18c756147724c (diff) | |
| download | emacs-fa49b46991ddc7c30c0aa526ad8966bddccc26e1.tar.gz emacs-fa49b46991ddc7c30c0aa526ad8966bddccc26e1.zip | |
Document `string-suffix-p'.
* doc/lispref/strings.texi (Text Comparison): Document
`string-suffix-p'.
| -rw-r--r-- | doc/lispref/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/lispref/strings.texi | 7 | ||||
| -rw-r--r-- | etc/NEWS | 1 |
3 files changed, 12 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index f6343606b94..93bfcbbd6df 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-01-09 Rüdiger Sonderfeld <ruediger@c-plusplus.de> | ||
| 2 | |||
| 3 | * strings.texi (Text Comparison): Document `string-suffix-p'. | ||
| 4 | |||
| 1 | 2014-01-07 Glenn Morris <rgm@gnu.org> | 5 | 2014-01-07 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * files.texi (File Attributes): Fix superscipt typo. | 7 | * files.texi (File Attributes): Fix superscipt typo. |
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi index 61e44fbafac..684133a7e1a 100644 --- a/doc/lispref/strings.texi +++ b/doc/lispref/strings.texi | |||
| @@ -521,6 +521,13 @@ the optional argument @var{ignore-case} is non-@code{nil}, the | |||
| 521 | comparison ignores case differences. | 521 | comparison ignores case differences. |
| 522 | @end defun | 522 | @end defun |
| 523 | 523 | ||
| 524 | @defun string-suffix-p suffix string &optional ignore-case | ||
| 525 | This function returns non-@code{nil} if @var{suffix} is a suffix of | ||
| 526 | @var{string}; i.e., if @var{string} ends with @var{suffix}. If the | ||
| 527 | optional argument @var{ignore-case} is non-@code{nil}, the comparison | ||
| 528 | ignorescase differences. | ||
| 529 | @end defun | ||
| 530 | |||
| 524 | @defun compare-strings string1 start1 end1 string2 start2 end2 &optional ignore-case | 531 | @defun compare-strings string1 start1 end1 string2 start2 end2 &optional ignore-case |
| 525 | This function compares a specified part of @var{string1} with a | 532 | This function compares a specified part of @var{string1} with a |
| 526 | specified part of @var{string2}. The specified part of @var{string1} | 533 | specified part of @var{string2}. The specified part of @var{string1} |
| @@ -1133,6 +1133,7 @@ a non-nil `interactive-only' property. | |||
| 1133 | The value, if non-nil, is a regexp that specifies what to trim from | 1133 | The value, if non-nil, is a regexp that specifies what to trim from |
| 1134 | the start and end of each substring. | 1134 | the start and end of each substring. |
| 1135 | 1135 | ||
| 1136 | +++ | ||
| 1136 | ** New function `string-suffix-p'. | 1137 | ** New function `string-suffix-p'. |
| 1137 | 1138 | ||
| 1138 | ** File-handling changes | 1139 | ** File-handling changes |