Sliding-door system , comprising a sliding door , a door frame , and a locking system , the sliding door comprising a first door leaf and a second door leaf , which are mounted such that a distance between the first door leaf and the second door leaf in an open state of the sliding door is smaller than in a closed state of the sliding door , the locking system comprising - a lock , which is fastened to the sliding door , and a locking part which is mounted on the door frame , wherein - the lock has an anchor body which is mounted so as to be rotatable about a rotational axis and has an engagement notch , and - the locking part has a first latch , wherein, in a locked state of the locking system , the first latch engages in the engagement notch of the anchor body in order to lock the sliding door , and a bolt engages on the anchor body in an engagement region in order to thus prevent the anchor body from rotating about the rotational axis , and the lock has an actuator which can move the bolt out of the region of engagement with the anchor body in order to move the locking system , during normal operation, from the locked state into an open state by the anchor body rotating about the rotational axis , characterized in that the locking system has an emergency opening function which can be actuated by an emergency activation force , and the emergency opening function, by a movement of the lock brought about by the emergency activation force, releases the locking of the sliding doors, wherein the movement direction of the lock is substantially perpendicular to the surface of the first door leaf , and the lock is able to be slid relative to the locking part so far that the engagement notch can be slid out of the engagement region of the first latch in order to thus make it possible to open the sliding door . the sliding door comprising a first door leaf and a second door leaf , which are mounted such that a distance between the first door leaf and the second door leaf in an open state of the sliding door is smaller than in a closed state of the sliding door , the locking system comprising - a lock , which is fastened to the sliding door , and a locking part which is mounted on the door frame , wherein - the lock has an anchor body which is mounted so as to be rotatable about a rotational axis and has an engagement notch , and - the locking part has a first latch , - a lock , which is fastened to the sliding door , and a locking part which is mounted on the door frame , wherein - the lock has an anchor body which is mounted so as to be rotatable about a rotational axis and has an engagement notch , and - the locking part has a first latch , wherein, in a locked state of the locking system , the first latch engages in the engagement notch of the anchor body in order to lock the sliding door , and a bolt engages on the anchor body in an engagement region in order to thus prevent the anchor body from rotating about the rotational axis , and the lock has an actuator which can move the bolt out of the region of engagement with the anchor body in order to move the locking system , during normal operation, from the locked state into an open state by the anchor body rotating about the rotational axis , characterized in that the locking system has an emergency opening function which can be actuated by an emergency activation force , and the emergency opening function, by a movement of the lock brought about by the emergency activation force, releases the locking of the sliding doors, wherein the movement direction of the lock is substantially perpendicular to the surface of the first door leaf , and the lock is able to be slid relative to the locking part so far that the engagement notch can be slid out of the engagement region of the first latch in order to thus make it possible to open the sliding door . <EOS>