From 39413a45bf497a5225ef7babf5001d0b0ce682e3 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 23 Oct 2021 20:44:26 +0300 Subject: [PATCH] ; * doc/lispref/functions.texi (Calling Functions): Fix last change. --- doc/lispref/functions.texi | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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 -- 2.39.2