Function: table--read-from-minibuffer

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

Signature

(table--read-from-minibuffer PROMPT-HISTORY)

Documentation

A wrapper to read-from-minibuffer.

PROMPT-HISTORY is a cons cell which car is the prompt string and the cdr is the history symbol.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/table.el.gz
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; Utility functions
;;

(defun table--read-from-minibuffer (prompt-history)
  "A wrapper to `read-from-minibuffer'.
PROMPT-HISTORY is a cons cell which car is the prompt string and the
cdr is the history symbol."
  (let ((default (car (symbol-value (cdr prompt-history)))))
    (read-from-minibuffer (format-prompt (car prompt-history) default)
                          "" nil nil (cdr prompt-history) default))
  (car (symbol-value (cdr prompt-history))))