changeset 71840:96e9b3cb9809

(Fcopy_marker): Use CHECK_TYPE.
author Kim F. Storm <storm@cua.dk>
date Wed, 12 Jul 2006 13:19:54 +0000
parents c31d8ae32af3
children 0b34cf45daa8
files src/marker.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/marker.c	Wed Jul 12 13:19:42 2006 +0000
+++ b/src/marker.c	Wed Jul 12 13:19:54 2006 +0000
@@ -835,8 +835,7 @@
 {
   register Lisp_Object new;
 
-  if (! (INTEGERP (marker) || MARKERP (marker)))
-    marker = wrong_type_argument (Qinteger_or_marker_p, marker);
+  CHECK_TYPE (INTEGERP (marker) || MARKERP (marker), Qinteger_or_marker_p, marker);
 
   new = Fmake_marker ();
   Fset_marker (new, marker,