elisp: Minibuffer Commands
19.10 Minibuffer Commands
=========================
This section describes some commands meant for use in the minibuffer.
-- Command: exit-minibuffer
This command exits the active minibuffer. It is normally bound to
keys in minibuffer local keymaps.
-- Command: self-insert-and-exit
This command exits the active minibuffer after inserting the last
character typed on the keyboard (found in ‘last-command-event’;
Command Loop Info).
-- Command: previous-history-element n
This command replaces the minibuffer contents with the value of the
Nth previous (older) history element.
-- Command: next-history-element n
This command replaces the minibuffer contents with the value of the
Nth more recent history element.
-- Command: previous-matching-history-element pattern n
This command replaces the minibuffer contents with the value of the
Nth previous (older) history element that matches PATTERN (a
regular expression).
-- Command: next-matching-history-element pattern n
This command replaces the minibuffer contents with the value of the
Nth next (newer) history element that matches PATTERN (a regular
expression).
-- Command: previous-complete-history-element n
This command replaces the minibuffer contents with the value of the
Nth previous (older) history element that completes the current
contents of the minibuffer before the point.
-- Command: next-complete-history-element n
This command replaces the minibuffer contents with the value of the
Nth next (newer) history element that completes the current
contents of the minibuffer before the point.