Document that =, <, <=, >, >= now accept one or many arguments.
authorTassilo Horn <tsdh@gnu.org>
Fri, 20 Dec 2013 18:41:31 +0000 (19:41 +0100)
committerTassilo Horn <tsdh@gnu.org>
Fri, 20 Dec 2013 18:41:31 +0000 (19:41 +0100)
* doc/lispref/numbers.texi (numbers): Document that =, <, <=, >, >= now accept
one or many arguments.

doc/lispref/ChangeLog
doc/lispref/numbers.texi
etc/NEWS

index be050b7..1573051 100644 (file)
@@ -1,5 +1,8 @@
 2013-12-20  Tassilo Horn  <tsdh@gnu.org>
 
+       * numbers.texi (numbers): Document that =, <, <=, >, >= now accept
+       one or many arguments.
+
        * display.texi: Document `messages-buffer'.
 
        * os.texi: Document `initial-buffer-choice' changes.
index 2b6f31b..1f08d31 100644 (file)
@@ -354,9 +354,9 @@ can have just one integer object for any given value because it has a
 limited range of integer values.
 @end quotation
 
-@defun = number-or-marker1 number-or-marker2
-This function tests whether its arguments are numerically equal, and
-returns @code{t} if so, @code{nil} otherwise.
+@defun = number-or-marker &rest number-or-markers
+This function tests whether all its arguments are numerically equal,
+and returns @code{t} if so, @code{nil} otherwise.
 @end defun
 
 @defun eql value1 value2
@@ -371,26 +371,27 @@ This function tests whether its arguments are numerically equal, and
 returns @code{t} if they are not, and @code{nil} if they are.
 @end defun
 
-@defun <  number-or-marker1 number-or-marker2
-This function tests whether its first argument is strictly less than
-its second argument.  It returns @code{t} if so, @code{nil} otherwise.
+@defun <  number-or-marker &rest number-or-markers
+This function tests whether every argument is strictly less than the
+respective next argument.  It returns @code{t} if so, @code{nil}
+otherwise.
 @end defun
 
-@defun <=  number-or-marker1 number-or-marker2
-This function tests whether its first argument is less than or equal
-to its second argument.  It returns @code{t} if so, @code{nil}
+@defun <= number-or-marker &rest number-or-markers
+This function tests whether every argument is less than or equal to
+the respective next argument.  It returns @code{t} if so, @code{nil}
 otherwise.
 @end defun
 
-@defun >  number-or-marker1 number-or-marker2
-This function tests whether its first argument is strictly greater
-than its second argument.  It returns @code{t} if so, @code{nil}
+@defun > number-or-marker &rest number-or-markers
+This function tests whether every argument is strictly greater than
+the respective next argument.  It returns @code{t} if so, @code{nil}
 otherwise.
 @end defun
 
-@defun >=  number-or-marker1 number-or-marker2
-This function tests whether its first argument is greater than or
-equal to its second argument.  It returns @code{t} if so, @code{nil}
+@defun >= number-or-marker &rest number-or-markers
+This function tests whether every argument is greater than or equal to
+the respective next argument.  It returns @code{t} if so, @code{nil}
 otherwise.
 @end defun
 
index 1e44a02..57516bf 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -862,6 +862,7 @@ frame.
 *** `bool-vector-count-consecutive'
 *** `bool-vector-count-population'
 
++++
 ** Comparison functions =, <, >, <=, >= now take many arguments.
 
 ** The second argument of `eval' can now be a lexical-environment.