APPROVCE COMMIT
NOTE: This patch has been committed.
src/ChangeLog addition:
2006-07-08 Aidan Kehoe <kehoea(a)parhasard.net>
* symbols.c (Fsubr_name):
Use the CHECK_SUBR macro instead of the GNU code's explicit if
statement.
XEmacs Trunk source patch:
Diff command: cvs -q diff -u
Files affected: src/symbols.c
Index: src/symbols.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/symbols.c,v
retrieving revision 1.57
diff -u -u -r1.57 symbols.c
--- src/symbols.c 2006/05/06 08:09:37 1.57
+++ src/symbols.c 2006/07/08 09:16:16
@@ -726,8 +726,8 @@
(subr))
{
const char *name;
- if (!SUBRP (subr))
- wrong_type_argument (Qsubrp, subr);
+ CHECK_SUBR (subr);
+
name = XSUBR (subr)->name;
return make_string ((const Ibyte *)name, strlen (name));
}
--
Santa Maradona, priez pour moi!