Mercurial > emacs
changeset 65739:83ce839858fb
(Fmessage, Fmessage_box, Fmessage_or_box):
Rename argument name `string' to `format-string'.
(Fformat): Doc fix.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Thu, 29 Sep 2005 23:28:48 +0000 |
parents | a3d17fae5bf3 |
children | a0447a0dfab8 |
files | src/editfns.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/editfns.c Thu Sep 29 23:14:57 2005 +0000 +++ b/src/editfns.c Thu Sep 29 23:28:48 2005 +0000 @@ -3124,7 +3124,7 @@ any existing message; this lets the minibuffer contents show. See also `current-message'. -usage: (message STRING &rest ARGS) */) +usage: (message FORMAT-STRING &rest ARGS) */) (nargs, args) int nargs; Lisp_Object *args; @@ -3154,7 +3154,7 @@ If the first argument is nil or the empty string, clear any existing message; let the minibuffer contents show. -usage: (message-box STRING &rest ARGS) */) +usage: (message-box FORMAT-STRING &rest ARGS) */) (nargs, args) int nargs; Lisp_Object *args; @@ -3216,7 +3216,7 @@ If the first argument is nil or the empty string, clear any existing message; let the minibuffer contents show. -usage: (message-or-box STRING &rest ARGS) */) +usage: (message-or-box FORMAT-STRING &rest ARGS) */) (nargs, args) int nargs; Lisp_Object *args; @@ -3281,8 +3281,8 @@ : SBYTES (STRING)) DEFUN ("format", Fformat, Sformat, 1, MANY, 0, - doc: /* Format a string out of a control-string and arguments. -The first argument is a control string. + doc: /* Format a string out of a format-string and arguments. +The first argument is a format control string. The other arguments are substituted into it to make the result, a string. It may contain %-sequences meaning to substitute the next argument. %s means print a string argument. Actually, prints any object, with `princ'.