projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
914e81a
)
(Fsyntax_table_p, describe_syntax): Use type test macros.
author
Karl Heuer
<kwzh@gnu.org>
Tue, 27 Sep 1994 01:20:25 +0000
(
01:20
+0000)
committer
Karl Heuer
<kwzh@gnu.org>
Tue, 27 Sep 1994 01:20:25 +0000
(
01:20
+0000)
src/syntax.c
patch
|
blob
|
history
diff --git
a/src/syntax.c
b/src/syntax.c
index 1aba174f7bb16dc713dc8242fd11cff3d9228c93..14187b1d8cd4ed7046bde8c9d83abda287399c54 100644
(file)
--- a/
src/syntax.c
+++ b/
src/syntax.c
@@
-111,7
+111,7
@@
Any vector of 256 elements will do.")
(obj)
Lisp_Object obj;
{
- if (
XTYPE (obj) == Lisp_Vector
&& XVECTOR (obj)->size == 0400)
+ if (
VECTORP (obj)
&& XVECTOR (obj)->size == 0400)
return Qt;
return Qnil;
}
@@
-355,7
+355,7
@@
describe_syntax (value)
Findent_to (make_number (16), make_number (1));
- if (
XTYPE (value) != Lisp_Int
)
+ if (
!INTEGERP (value)
)
{
insert_string ("invalid");
return;