diff options
| author | Stefan Kangas | 2022-12-03 11:29:37 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2022-12-03 11:32:23 +0100 |
| commit | a0dd9fdebe3baaccdbda428df428f696ee38356d (patch) | |
| tree | 84d28eae1edb9def0c9b44a0edcdcee1b78005ec /lisp | |
| parent | 11c3c54d8ade69003f441918b607f073e6fa39f1 (diff) | |
| download | emacs-a0dd9fdebe3baaccdbda428df428f696ee38356d.tar.gz emacs-a0dd9fdebe3baaccdbda428df428f696ee38356d.zip | |
; Add cross-reference to string-equal docstring
* lisp/subr.el (string-equal-ignore-case):
* src/fns.c (Fstring_equal): Doc fix; add cross-references.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/subr.el | 4 |
1 files changed, 3 insertions, 1 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 | ||