From: Vincent Belaïche Date: Sat, 23 Dec 2023 18:38:56 +0000 (+0100) Subject: More doc on ses+ and argument order X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=44676555f9f5cf268104ccdd8eca1666336853ad;p=emacs.git More doc on ses+ and argument order * doc/misc/ses.texi (Standard formula functions): Indicate that 'ses+' reverses argument order. --- 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