Function: read-minibuffer

read-minibuffer is a byte-compiled function defined in simple.el.gz.

Signature

(read-minibuffer PROMPT &optional INITIAL-CONTENTS)

Documentation

Return a Lisp object read using the minibuffer, unevaluated.

Prompt with PROMPT. If non-nil, optional second arg INITIAL-CONTENTS is a string to insert in the minibuffer before reading.
(INITIAL-CONTENTS can also be a cons of a string and an integer.
Such arguments are used as in read-from-minibuffer.)

View in manual

Probably introduced at or before Emacs version 16.

Source Code

;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defun read-minibuffer (prompt &optional initial-contents)
  "Return a Lisp object read using the minibuffer, unevaluated.
Prompt with PROMPT.  If non-nil, optional second arg INITIAL-CONTENTS
is a string to insert in the minibuffer before reading.
\(INITIAL-CONTENTS can also be a cons of a string and an integer.
Such arguments are used as in `read-from-minibuffer'.)"
  ;; Used for interactive spec `x'.
  (read-from-minibuffer prompt initial-contents minibuffer-local-map
                        t 'minibuffer-history))