Function: minibuffer-contents-no-properties

minibuffer-contents-no-properties is a function defined in minibuf.c.

Signature

(minibuffer-contents-no-properties)

Documentation

Return the user input in a minibuffer as a string, without text-properties.

If the current buffer is not a minibuffer, return its entire contents.

View in manual

Source Code

// Defined in /usr/src/emacs/src/minibuf.c
{
  ptrdiff_t prompt_end = XFIXNUM (Fminibuffer_prompt_end ());
  return make_buffer_string (prompt_end, ZV, 0);
}