From: Juanma Barranquero Date: Thu, 19 Apr 2007 22:22:16 +0000 (+0000) Subject: (Fminibuffer_contents, Fminibuffer_contents_no_properties, X-Git-Tag: emacs-pretest-22.0.99~154 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6cc62df0e83cadfd0635ad4128ea2890f959d639;p=emacs.git (Fminibuffer_contents, Fminibuffer_contents_no_properties, Fminibuffer_completion_contents, Fdelete_minibuffer_contents): Doc fixes. --- diff --git a/src/ChangeLog b/src/ChangeLog index e325d82f04a..147ee163db8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2007-04-19 Juanma Barranquero + + * minibuf.c (Fminibuffer_contents, Fminibuffer_contents_no_properties) + (Fminibuffer_completion_contents, Fdelete_minibuffer_contents): + Doc fixes. + 2007-04-16 Chong Yidong * dispnew.c (adjust_frame_glyphs_for_frame_redisplay): Set diff --git a/src/minibuf.c b/src/minibuf.c index 1c2cfc45306..db069aaf29e 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -386,7 +386,7 @@ Return (point-min) if current buffer is not a minibuffer. */) DEFUN ("minibuffer-contents", Fminibuffer_contents, Sminibuffer_contents, 0, 0, 0, doc: /* Return the user input in a minibuffer as a string. -The current buffer must be a minibuffer. */) +If the current buffer is not a minibuffer, return its entire contents. */) () { int prompt_end = XINT (Fminibuffer_prompt_end ()); @@ -396,7 +396,7 @@ The current buffer must be a minibuffer. */) DEFUN ("minibuffer-contents-no-properties", Fminibuffer_contents_no_properties, Sminibuffer_contents_no_properties, 0, 0, 0, doc: /* Return the user input in a minibuffer as a string, without text-properties. -The current buffer must be a minibuffer. */) +If the current buffer is not a minibuffer, return its entire contents. */) () { int prompt_end = XINT (Fminibuffer_prompt_end ()); @@ -407,7 +407,7 @@ DEFUN ("minibuffer-completion-contents", Fminibuffer_completion_contents, Sminibuffer_completion_contents, 0, 0, 0, doc: /* Return the user input in a minibuffer before point as a string. That is what completion commands operate on. -The current buffer must be a minibuffer. */) +If the current buffer is not a minibuffer, return its entire contents. */) () { int prompt_end = XINT (Fminibuffer_prompt_end ()); @@ -419,7 +419,7 @@ The current buffer must be a minibuffer. */) DEFUN ("delete-minibuffer-contents", Fdelete_minibuffer_contents, Sdelete_minibuffer_contents, 0, 0, 0, doc: /* Delete all user input in a minibuffer. -The current buffer must be a minibuffer. */) +If the current buffer is not a minibuffer, erase its entire contents. */) () { int prompt_end = XINT (Fminibuffer_prompt_end ()); @@ -704,7 +704,7 @@ read_minibuf (map, initial, prompt, backup_n, expflag, if (!NILP (current_buffer->enable_multibyte_characters) && ! STRING_MULTIBYTE (minibuf_prompt)) minibuf_prompt = Fstring_make_multibyte (minibuf_prompt); - + /* Insert the prompt, record where it ends. */ Finsert (1, &minibuf_prompt); if (PT > BEG)