diff options
| -rw-r--r-- | lisp/subr.el | 4 | ||||
| -rw-r--r-- | src/fns.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index 15662162798..21f43092d42 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -5437,7 +5437,9 @@ and replace a sub-expression, e.g. | |||
| 5437 | (defsubst string-equal-ignore-case (string1 string2) | 5437 | (defsubst string-equal-ignore-case (string1 string2) |
| 5438 | "Compare STRING1 and STRING2 case-insensitively. | 5438 | "Compare STRING1 and STRING2 case-insensitively. |
| 5439 | Upper-case and lower-case letters are treated as equal. | 5439 | Upper-case and lower-case letters are treated as equal. |
| 5440 | Unibyte strings are converted to multibyte for comparison." | 5440 | Unibyte strings are converted to multibyte for comparison. |
| 5441 | |||
| 5442 | See also `string-equal'." | ||
| 5441 | (declare (pure t) (side-effect-free t)) | 5443 | (declare (pure t) (side-effect-free t)) |
| 5442 | (eq t (compare-strings string1 0 nil string2 0 nil t))) | 5444 | (eq t (compare-strings string1 0 nil string2 0 nil t))) |
| 5443 | 5445 | ||
| @@ -334,7 +334,9 @@ Letter-case is significant, but text properties are ignored. */) | |||
| 334 | DEFUN ("string-equal", Fstring_equal, Sstring_equal, 2, 2, 0, | 334 | DEFUN ("string-equal", Fstring_equal, Sstring_equal, 2, 2, 0, |
| 335 | doc: /* Return t if two strings have identical contents. | 335 | doc: /* Return t if two strings have identical contents. |
| 336 | Case is significant, but text properties are ignored. | 336 | Case is significant, but text properties are ignored. |
| 337 | Symbols are also allowed; their print names are used instead. */) | 337 | Symbols are also allowed; their print names are used instead. |
| 338 | |||
| 339 | See also `string-equal-ignore-case'. */) | ||
| 338 | (register Lisp_Object s1, Lisp_Object s2) | 340 | (register Lisp_Object s1, Lisp_Object s2) |
| 339 | { | 341 | { |
| 340 | if (SYMBOLP (s1)) | 342 | if (SYMBOLP (s1)) |