From 44676555f9f5cf268104ccdd8eca1666336853ad Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vincent=20Bela=C3=AFche?= Date: Sat, 23 Dec 2023 19:38:56 +0100 Subject: [PATCH] More doc on ses+ and argument order * doc/misc/ses.texi (Standard formula functions): Indicate that 'ses+' reverses argument order. --- doc/misc/ses.texi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/misc/ses.texi b/doc/misc/ses.texi index cfca9c25ebb..2949ecd50bd 100644 --- a/doc/misc/ses.texi +++ b/doc/misc/ses.texi @@ -195,6 +195,11 @@ remove blank cells from the returned list, which enables using (apply '+ (ses-range A2 A5 !)) @end lisp +Actually, both options are not exactly equivalent as the former makes +the summing in reversed order of argument, and the latter in the same +order. You can also reverse the order of arguments returned by +@code{ses-range} with the @code{<} modifier. + @c =================================================================== @node The Basics @@ -1018,7 +1023,7 @@ instead of @end lisp @item (ses+ &rest @var{args}) -Sum of non-blank arguments. +Sum of non-blank arguments taken in reverse order. @item (ses-average @var{list}) Average of non-blank elements in @var{list}. Here the list is passed -- 2.39.5