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:
1d80f4d
)
(casify_object): Use type test macros.
author
Karl Heuer
<kwzh@gnu.org>
Tue, 27 Sep 1994 03:10:02 +0000
(
03:10
+0000)
committer
Karl Heuer
<kwzh@gnu.org>
Tue, 27 Sep 1994 03:10:02 +0000
(
03:10
+0000)
src/casefiddle.c
patch
|
blob
|
blame
|
history
diff --git
a/src/casefiddle.c
b/src/casefiddle.c
index
4fcdcc0
..
77d7115
100644
(file)
--- a/
src/casefiddle.c
+++ b/
src/casefiddle.c
@@
-36,7
+36,7
@@
casify_object (flag, obj)
while (1)
{
- if (
XTYPE (obj) == Lisp_Int
)
+ if (
INTEGERP (obj)
)
{
c = XINT (obj);
if (c >= 0 && c <= 0400)
@@
-48,7
+48,7
@@
casify_object (flag, obj)
}
return obj;
}
- if (
XTYPE (obj) == Lisp_String
)
+ if (
STRINGP (obj)
)
{
obj = Fcopy_sequence (obj);
len = XSTRING (obj)->size;