diff options
author | Richard M. Stallman <[email protected]> | 1995-01-30 00:41:51 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 1995-01-30 00:41:51 +0000 |
commit | 80896ab4868c3b921de6e7950d3e9ad98a4f6664 (patch) | |
tree | 1148301f327f6c806192b372a259d5757d869a61 /src/minibuf.c | |
parent | c3e1d4359ed586fa30ba45e8b9bc8f3a230f130b (diff) |
(Fcall_interactively): Pass new arg to Fread_string.
Diffstat (limited to 'src/minibuf.c')
-rw-r--r-- | src/minibuf.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/minibuf.c b/src/minibuf.c index 38dc33b2a2..8d2995ebf9 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -503,13 +503,16 @@ is a string to insert in the minibuffer before reading.") /* Functions that use the minibuffer to read various things. */ -DEFUN ("read-string", Fread_string, Sread_string, 1, 2, 0, +DEFUN ("read-string", Fread_string, Sread_string, 1, 3, 0, "Read a string from the minibuffer, prompting with string PROMPT.\n\ -If non-nil second arg INITIAL-INPUT is a string to insert before reading.") - (prompt, initial_input) - Lisp_Object prompt, initial_input; +If non-nil, second arg INITIAL-INPUT is a string to insert before reading.\n\ +The third arg HISTORY, if non-nil, specifies a history list\n\ + and optionally the initial position in the list.\n\ +See `read-from-minibuffer' for details of HISTORY argument.") + (prompt, initial_input, history) + Lisp_Object prompt, initial_input, history; { - return Fread_from_minibuffer (prompt, initial_input, Qnil, Qnil, Qnil); + return Fread_from_minibuffer (prompt, initial_input, Qnil, Qnil, history); } DEFUN ("read-no-blanks-input", Fread_no_blanks_input, Sread_no_blanks_input, 1, 2, 0, |