Mercurial > emacs
changeset 43000:c16f32068114
(Fread_from_minibuffer, Fread_command, Fread_function)
(Fread_variable, Fread_buffer, minibuffer-completion-confirm): Fix
doc-strings.
author | Pavel Janík <Pavel@Janik.cz> |
---|---|
date | Sun, 27 Jan 2002 18:20:46 +0000 |
parents | 0dd2c7d849f5 |
children | eb883dc8e44a |
files | src/minibuf.c |
diffstat | 1 files changed, 11 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/src/minibuf.c Sun Jan 27 18:18:38 2002 +0000 +++ b/src/minibuf.c Sun Jan 27 18:20:46 2002 +0000 @@ -507,7 +507,7 @@ if (inherit_input_method) { - /* `current-input-method' is buffer local. So, remeber it in + /* `current-input-method' is buffer local. So, remember it in INPUT_METHOD before changing the current buffer. */ input_method = Fsymbol_value (Qcurrent_input_method); enable_multibyte = current_buffer->enable_multibyte_characters; @@ -608,7 +608,7 @@ /* Run our hook, but not if it is empty. (run-hooks would do nothing if it is empty, - but it's important to save time here in the usual case). */ + but it's important to save time here in the usual case.) */ if (!NILP (Vminibuffer_setup_hook) && !EQ (Vminibuffer_setup_hook, Qunbound) && !NILP (Vrun_hooks)) call1 (Vrun_hooks, Qminibuffer_setup_hook); @@ -819,7 +819,7 @@ is STRING, but point is placed at position POSITION in the minibuffer. Third arg KEYMAP is a keymap to use whilst reading; if omitted or nil, the default is `minibuffer-local-map'. -If fourth arg READ is non-nil, then interpret the result as a lisp object +If fourth arg READ is non-nil, then interpret the result as a Lisp object and return that object: in other words, do `(car (read-from-string INPUT-STRING))' Fifth arg HIST, if non-nil, specifies a history list @@ -969,7 +969,7 @@ DEFUN ("read-command", Fread_command, Sread_command, 1, 2, 0, doc: /* Read the name of a command and return as a symbol. -Prompts with PROMPT. By default, return DEFAULT-VALUE. */) +Prompt with PROMPT. By default, return DEFAULT-VALUE. */) (prompt, default_value) Lisp_Object prompt, default_value; { @@ -992,7 +992,7 @@ #ifdef NOTDEF DEFUN ("read-function", Fread_function, Sread_function, 1, 1, 0, doc: /* One arg PROMPT, a string. Read the name of a function and return as a symbol. -Prompts with PROMPT. */) +Prompt with PROMPT. */) (prompt) Lisp_Object prompt; { @@ -1003,7 +1003,7 @@ DEFUN ("read-variable", Fread_variable, Sread_variable, 1, 2, 0, doc: /* Read the name of a user variable and return it as a symbol. -Prompts with PROMPT. By default, return DEFAULT-VALUE. +Prompt with PROMPT. By default, return DEFAULT-VALUE. A user variable is one whose documentation starts with a `*' character. */) (prompt, default_value) Lisp_Object prompt, default_value; @@ -1026,10 +1026,11 @@ } DEFUN ("read-buffer", Fread_buffer, Sread_buffer, 1, 3, 0, - doc: /* One arg PROMPT, a string. Read the name of a buffer and return as a string. -Prompts with PROMPT. + doc: /* Read the name of a buffer and return as a string. +Prompt with PROMPT. Optional second arg DEF is value to return if user enters an empty line. -If optional third arg REQUIRE-MATCH is non-nil, only existing buffer names are allowed. */) +If optional third arg REQUIRE-MATCH is non-nil, + only existing buffer names are allowed. */) (prompt, def, require_match) Lisp_Object prompt, def, require_match; { @@ -2406,7 +2407,7 @@ Vminibuffer_completion_predicate = Qnil; DEFVAR_LISP ("minibuffer-completion-confirm", &Vminibuffer_completion_confirm, - doc: /* Non-nil => demand confirmation of completion before exiting minibuffer. */); + doc: /* Non-nil means to demand confirmation of completion before exiting minibuffer. */); Vminibuffer_completion_confirm = Qnil; DEFVAR_LISP ("minibuffer-completing-file-name",