; Add cross-reference to string-equal docstring
* lisp/subr.el (string-equal-ignore-case): * src/fns.c (Fstring_equal): Doc fix; add cross-references.
This commit is contained in:
parent
11c3c54d8a
commit
a0dd9fdebe
2 changed files with 6 additions and 2 deletions
|
@ -5437,7 +5437,9 @@ and replace a sub-expression, e.g.
|
|||
(defsubst string-equal-ignore-case (string1 string2)
|
||||
"Compare STRING1 and STRING2 case-insensitively.
|
||||
Upper-case and lower-case letters are treated as equal.
|
||||
Unibyte strings are converted to multibyte for comparison."
|
||||
Unibyte strings are converted to multibyte for comparison.
|
||||
|
||||
See also `string-equal'."
|
||||
(declare (pure t) (side-effect-free t))
|
||||
(eq t (compare-strings string1 0 nil string2 0 nil t)))
|
||||
|
||||
|
|
|
@ -334,7 +334,9 @@ Letter-case is significant, but text properties are ignored. */)
|
|||
DEFUN ("string-equal", Fstring_equal, Sstring_equal, 2, 2, 0,
|
||||
doc: /* Return t if two strings have identical contents.
|
||||
Case is significant, but text properties are ignored.
|
||||
Symbols are also allowed; their print names are used instead. */)
|
||||
Symbols are also allowed; their print names are used instead.
|
||||
|
||||
See also `string-equal-ignore-case'. */)
|
||||
(register Lisp_Object s1, Lisp_Object s2)
|
||||
{
|
||||
if (SYMBOLP (s1))
|
||||
|
|
Loading…
Add table
Reference in a new issue