HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e642c71
)
* src/fns.c (Feql): Use `scm_eqv_p'.
author
BT Templeton
<bpt@hcoop.net>
Mon, 16 Jul 2012 20:23:10 +0000
(16:23 -0400)
committer
Robin Templeton
<robin@terpri.org>
Sat, 18 Apr 2015 22:49:09 +0000
(18:49 -0400)
src/fns.c
patch
|
blob
|
blame
|
history
diff --git
a/src/fns.c
b/src/fns.c
index
fd1568b
..
6534f00
100644
(file)
--- a/
src/fns.c
+++ b/
src/fns.c
@@
-2010,10
+2010,7
@@
DEFUN ("eql", Feql, Seql, 2, 2, 0,
Floating-point numbers of equal value are `eql', but they may not be `eq'. */)
(Lisp_Object obj1, Lisp_Object obj2)
{
- if (FLOATP (obj1))
- return internal_equal (obj1, obj2, 0, 0, Qnil) ? Qt : Qnil;
- else
- return EQ (obj1, obj2) ? Qt : Qnil;
+ return scm_is_true (scm_eqv_p (obj1, obj2)) ? Qt : Qnil;
}
DEFUN ("equal", Fequal, Sequal, 2, 2, 0,