comparison src/minibuf.c @ 10591:5a049637599a

(Fcall_interactively): Pass new arg to Fread_string.
author Richard M. Stallman <rms@gnu.org>
date Mon, 30 Jan 1995 00:41:51 +0000
parents 6cf668004235
children 285e0e1463d6
comparison
equal deleted inserted replaced
10590:9f68d8d6357b 10591:5a049637599a
501 return Feval (Fread_minibuffer (prompt, initial_contents)); 501 return Feval (Fread_minibuffer (prompt, initial_contents));
502 } 502 }
503 503
504 /* Functions that use the minibuffer to read various things. */ 504 /* Functions that use the minibuffer to read various things. */
505 505
506 DEFUN ("read-string", Fread_string, Sread_string, 1, 2, 0, 506 DEFUN ("read-string", Fread_string, Sread_string, 1, 3, 0,
507 "Read a string from the minibuffer, prompting with string PROMPT.\n\ 507 "Read a string from the minibuffer, prompting with string PROMPT.\n\
508 If non-nil second arg INITIAL-INPUT is a string to insert before reading.") 508 If non-nil, second arg INITIAL-INPUT is a string to insert before reading.\n\
509 (prompt, initial_input) 509 The third arg HISTORY, if non-nil, specifies a history list\n\
510 Lisp_Object prompt, initial_input; 510 and optionally the initial position in the list.\n\
511 { 511 See `read-from-minibuffer' for details of HISTORY argument.")
512 return Fread_from_minibuffer (prompt, initial_input, Qnil, Qnil, Qnil); 512 (prompt, initial_input, history)
513 Lisp_Object prompt, initial_input, history;
514 {
515 return Fread_from_minibuffer (prompt, initial_input, Qnil, Qnil, history);
513 } 516 }
514 517
515 DEFUN ("read-no-blanks-input", Fread_no_blanks_input, Sread_no_blanks_input, 1, 2, 0, 518 DEFUN ("read-no-blanks-input", Fread_no_blanks_input, Sread_no_blanks_input, 1, 2, 0,
516 "Args PROMPT and INIT, strings. Read a string from the terminal, not allowing blanks.\n\ 519 "Args PROMPT and INIT, strings. Read a string from the terminal, not allowing blanks.\n\
517 Prompt with PROMPT, and provide INIT as an initial value of the input string.") 520 Prompt with PROMPT, and provide INIT as an initial value of the input string.")