From: Eli Zaretskii Date: Sat, 23 Oct 2021 17:44:26 +0000 (+0300) Subject: ; * doc/lispref/functions.texi (Calling Functions): Fix last change. X-Git-Tag: emacs-28.0.90~198 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=39413a45bf;p=emacs.git ; * doc/lispref/functions.texi (Calling Functions): Fix last change. --- diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi index f95c6d3656b..91118b7ae05 100644 --- a/doc/lispref/functions.texi +++ b/doc/lispref/functions.texi @@ -827,12 +827,19 @@ This function returns a new function which, when called, will call additional arguments specified at the time of the call. If @var{func} accepts @var{n} arguments, then a call to @code{apply-partially} with @w{@code{@var{m} <= @var{n}}} arguments will produce a new function of -@w{@code{@var{n} - @var{m}}} arguments. +@w{@code{@var{n} - @var{m}}} arguments@footnote{ +If the number of arguments that @var{func} can accept is unlimited, +then the new function will also accept an unlimited number of +arguments, so in that case @code{apply-partially} doesn't reduce the +number of arguments that the new function could accept. +}. Here's how we could define the built-in function @code{1+}, if it didn't exist, using @code{apply-partially} and @code{+}, another -built-in function:@footnote{Note that unlike the built-in function -this version accepts any number of arguments.} +built-in function@footnote{ +Note that unlike the built-in function, this version accepts any +number of arguments. +}: @example @group