From: Andreas Schwab Date: Tue, 14 Apr 1998 13:02:50 +0000 (+0000) Subject: (set_marker_both): Remove bogus checks on charpos. X-Git-Tag: emacs-20.3~1547 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6acce4eaa2408e67cc9ee79bda4dcbc02647138c;p=emacs.git (set_marker_both): Remove bogus checks on charpos. --- diff --git a/src/marker.c b/src/marker.c index 9806c30b5c1..0cb6d3979a1 100644 --- a/src/marker.c +++ b/src/marker.c @@ -621,16 +621,7 @@ set_marker_both (marker, buffer, charpos, bytepos) register struct Lisp_Marker *m; CHECK_MARKER (marker, 0); - /* If position is nil or a marker that points nowhere, - make this marker point nowhere. */ - if (NILP (charpos) - || (MARKERP (charpos) && !XMARKER (charpos)->buffer)) - { - unchain_marker (marker); - return marker; - } - CHECK_NUMBER_COERCE_MARKER (charpos, 1); if (NILP (buffer)) b = current_buffer; else