Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
76f61009
Commit
76f61009
authored
Mar 08, 1996
by
Erik Naggum
Browse files
(equalp): Use string-equal on strings.
parent
24a31d57
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lisp/emacs-lisp/cl-extra.el
lisp/emacs-lisp/cl-extra.el
+2
-2
No files found.
lisp/emacs-lisp/cl-extra.el
View file @
76f61009
...
...
@@ -84,8 +84,8 @@ strings case-insensitively."
(
cond
((
eq
x
y
)
t
)
((
stringp
x
)
(
and
(
stringp
y
)
(
=
(
length
x
)
(
length
y
))
(
or
(
equal
x
y
)
(
equal
(
downcase
x
)
(
downcase
y
)))))
; lazy but simple!
(
or
(
string-
equal
x
y
)
(
string-
equal
(
downcase
x
)
(
downcase
y
)))))
; lazy but simple!
((
numberp
x
)
(
and
(
numberp
y
)
(
=
x
y
)))
((
consp
x
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment