diff options
| author | Juanma Barranquero | 2014-04-25 18:11:07 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2014-04-25 18:11:07 +0200 |
| commit | dff4a9f6a4e9e42de6177e29faa7e3524b47e6d4 (patch) | |
| tree | 60924b65da522416f928b436f8525f5bc8bfc3d7 /doc/lispref | |
| parent | 8de17fac97652d77bffd24e41b0097c863bd752b (diff) | |
| parent | 844465d6cac7c243e37e446067b1a2e06be293da (diff) | |
| download | emacs-dff4a9f6a4e9e42de6177e29faa7e3524b47e6d4.tar.gz emacs-dff4a9f6a4e9e42de6177e29faa7e3524b47e6d4.zip | |
Merge from emacs-24; up to 2014-04-25T10:35:01Z!michael.albinus@gmx.de
Diffstat (limited to 'doc/lispref')
| -rw-r--r-- | doc/lispref/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/lispref/strings.texi | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index e9ea1f7459e..04b2e91ee4b 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2014-04-25 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * strings.texi (Text Comparison): Mention | ||
| 4 | equal-including-properties for when text properties of the strings | ||
| 5 | matter for comparison. | ||
| 6 | |||
| 1 | 2014-04-22 Eli Zaretskii <eliz@gnu.org> | 7 | 2014-04-22 Eli Zaretskii <eliz@gnu.org> |
| 2 | 8 | ||
| 3 | * text.texi (Registers): Document register-read-with-preview. | 9 | * text.texi (Registers): Document register-read-with-preview. |
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi index 24218a9cf15..e6b00f06f79 100644 --- a/doc/lispref/strings.texi +++ b/doc/lispref/strings.texi | |||
| @@ -423,8 +423,10 @@ the symbol names are used. Case is always significant, regardless of | |||
| 423 | 423 | ||
| 424 | This function is equivalent to @code{equal} for comparing two strings | 424 | This function is equivalent to @code{equal} for comparing two strings |
| 425 | (@pxref{Equality Predicates}). In particular, the text properties of | 425 | (@pxref{Equality Predicates}). In particular, the text properties of |
| 426 | the two strings are ignored. But if either argument is not a string | 426 | the two strings are ignored; use @code{equal-including-properties} if |
| 427 | or symbol, an error is signaled. | 427 | you need to distinguish between strings that differ only in their text |
| 428 | properties. However, unlike @code{equal}, if either argument is not a | ||
| 429 | string or symbol, @code{string=} signals an error. | ||
| 428 | 430 | ||
| 429 | @example | 431 | @example |
| 430 | (string= "abc" "abc") | 432 | (string= "abc" "abc") |