Next: Recursive Mini, Previous: Minibuffer Windows, Up: Minibuffers
These functions access the minibuffer prompt and contents.
This function returns the prompt string of the currently active minibuffer. If no minibuffer is active, it returns
nil
.
This function returns the current position of the end of the minibuffer prompt, if a minibuffer is current. Otherwise, it returns the minimum valid buffer position.
This function returns the current display-width of the minibuffer prompt, if a minibuffer is current. Otherwise, it returns zero.
This function returns the editable contents of the minibuffer (that is, everything except the prompt) as a string, if a minibuffer is current. Otherwise, it returns the entire contents of the current buffer.
This is like
minibuffer-contents
, except that it does not copy text properties, just the characters themselves. See Text Properties.