Function: top-level

top-level is an interactive function defined in keyboard.c.

Signature

(top-level)

Documentation

Exit all recursive editing levels.

This also exits all active minibuffers.

View in manual

Key Bindings

Source Code

// Defined in /usr/src/emacs/src/keyboard.c
{
#ifdef HAVE_WINDOW_SYSTEM
  if (display_hourglass_p)
    cancel_hourglass ();
#endif

  /* Unblock input if we enter with input blocked.  This may happen if
     redisplay traps e.g. during tool-bar update with input blocked.  */
  totally_unblock_input ();

  Fthrow (Qtop_level, Qnil);
}