Function: recursion-depth

recursion-depth is a function defined in keyboard.c.

Signature

(recursion-depth)

Documentation

Return the current depth in recursive edits.

View in manual

Source Code

// Defined in /usr/src/emacs/src/keyboard.c
{
  EMACS_INT sum;
  INT_ADD_WRAPV (command_loop_level, minibuf_level, &sum);
  return make_fixnum (sum);
}