Function: minibuffer-innermost-command-loop-p

minibuffer-innermost-command-loop-p is a function defined in minibuf.c.

Signature

(minibuffer-innermost-command-loop-p &optional BUFFER)

Documentation

Return t if BUFFER is a minibuffer at the current command loop level.

No argument or nil as argument means use the current buffer as BUFFER.

Source Code

// Defined in /usr/src/emacs/src/minibuf.c
{
  EMACS_INT depth;
  if (NILP (buffer))
    buffer = Fcurrent_buffer ();
  depth = this_minibuffer_depth (buffer);
  return depth && minibuf_c_loop_level (depth) == command_loop_level
    ? Qt
    : Qnil;
}