# HG changeset patch # User Karl Heuer # Date 900270825 0 # Node ID 79ca732d9740d7d16cf05803470a241b5c43f071 # Parent ea36144e79777fedc8c2d0baf33f8cbfd9443946 (Fcopy_marker): Make return from wrong_type_argument fall thru into normal case. diff -r ea36144e7977 -r 79ca732d9740 src/marker.c --- a/src/marker.c Sun Jul 12 15:20:27 1998 +0000 +++ b/src/marker.c Sun Jul 12 19:13:45 1998 +0000 @@ -828,16 +828,14 @@ { register Lisp_Object new; - if (INTEGERP (marker) || MARKERP (marker)) - { - new = Fmake_marker (); - Fset_marker (new, marker, - (MARKERP (marker) ? Fmarker_buffer (marker) : Qnil)); - XMARKER (new)->insertion_type = !NILP (type); - return new; - } - else + if (! (INTEGERP (marker) || MARKERP (marker))) marker = wrong_type_argument (Qinteger_or_marker_p, marker); + + new = Fmake_marker (); + Fset_marker (new, marker, + (MARKERP (marker) ? Fmarker_buffer (marker) : Qnil)); + XMARKER (new)->insertion_type = !NILP (type); + return new; } DEFUN ("marker-insertion-type", Fmarker_insertion_type,