Function: minibuffer-mode
minibuffer-mode is a byte-compiled function defined in
minibuffer.el.gz.
Signature
(minibuffer-mode)
Documentation
Major mode used for active minibuffers.
For customizing this mode, it is better to use
minibuffer-setup-hook and minibuffer-exit-hook rather than
the mode hook of this mode.
This mode runs the hook minibuffer-mode-hook, as the final or
penultimate step during initialization.
<XF86Back> previous-history-element
<XF86Forward> next-history-element
<down> next-line-or-history-element
<kp-4> tpu-search-forward-exit
<kp-5> tpu-search-backward-exit
<kp-enter> exit-minibuffer
<next> next-history-element
<prior> previous-history-element
<up> previous-line-or-history-element
C-<tab> file-cache-minibuffer-complete
C-g minibuffer-keyboard-quit
C-j exit-minibuffer
C-x <down> minibuffer-complete-defaults
C-x <up> minibuffer-complete-history
M-< minibuffer-beginning-of-buffer
M-n next-history-element
M-p previous-history-element
M-r previous-matching-history-element
M-s next-matching-history-element
RET exit-minibuffer
TAB self-insert-command
Probably introduced at or before Emacs version 28.1.
Source Code
;; Defined in /usr/src/emacs/lisp/minibuffer.el.gz
(define-derived-mode minibuffer-mode nil "Minibuffer"
"Major mode used for active minibuffers.
For customizing this mode, it is better to use
`minibuffer-setup-hook' and `minibuffer-exit-hook' rather than
the mode hook of this mode."
:syntax-table nil
:interactive nil
;; Enable text conversion, but always make sure `RET' does
;; something.
(setq text-conversion-style 'action)
(when minibuffer-visible-completions
(setq-local minibuffer-completion-auto-choose nil)))