Commit 3fbba716 authored by Tassilo Horn's avatar Tassilo Horn
Browse files

Document that =, <, <=, >, >= now accept one or many arguments.

* doc/lispref/numbers.texi (numbers): Document that =, <, <=, >, >= now accept
one or many arguments.
parent f3a66082
2013-12-20 Tassilo Horn <tsdh@gnu.org> 2013-12-20 Tassilo Horn <tsdh@gnu.org>
* numbers.texi (numbers): Document that =, <, <=, >, >= now accept
one or many arguments.
* display.texi: Document `messages-buffer'. * display.texi: Document `messages-buffer'.
* os.texi: Document `initial-buffer-choice' changes. * os.texi: Document `initial-buffer-choice' changes.
......
...@@ -354,9 +354,9 @@ can have just one integer object for any given value because it has a ...@@ -354,9 +354,9 @@ can have just one integer object for any given value because it has a
limited range of integer values. limited range of integer values.
@end quotation @end quotation
@defun = number-or-marker1 number-or-marker2 @defun = number-or-marker &rest number-or-markers
This function tests whether its arguments are numerically equal, and This function tests whether all its arguments are numerically equal,
returns @code{t} if so, @code{nil} otherwise. and returns @code{t} if so, @code{nil} otherwise.
@end defun @end defun
@defun eql value1 value2 @defun eql value1 value2
...@@ -371,26 +371,27 @@ This function tests whether its arguments are numerically equal, and ...@@ -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. returns @code{t} if they are not, and @code{nil} if they are.
@end defun @end defun
@defun < number-or-marker1 number-or-marker2 @defun < number-or-marker &rest number-or-markers
This function tests whether its first argument is strictly less than This function tests whether every argument is strictly less than the
its second argument. It returns @code{t} if so, @code{nil} otherwise. respective next argument. It returns @code{t} if so, @code{nil}
otherwise.
@end defun @end defun
@defun <= number-or-marker1 number-or-marker2 @defun <= number-or-marker &rest number-or-markers
This function tests whether its first argument is less than or equal This function tests whether every argument is less than or equal to
to its second argument. It returns @code{t} if so, @code{nil} the respective next argument. It returns @code{t} if so, @code{nil}
otherwise. otherwise.
@end defun @end defun
@defun > number-or-marker1 number-or-marker2 @defun > number-or-marker &rest number-or-markers
This function tests whether its first argument is strictly greater This function tests whether every argument is strictly greater than
than its second argument. It returns @code{t} if so, @code{nil} the respective next argument. It returns @code{t} if so, @code{nil}
otherwise. otherwise.
@end defun @end defun
@defun >= number-or-marker1 number-or-marker2 @defun >= number-or-marker &rest number-or-markers
This function tests whether its first argument is greater than or This function tests whether every argument is greater than or equal to
equal to its second argument. It returns @code{t} if so, @code{nil} the respective next argument. It returns @code{t} if so, @code{nil}
otherwise. otherwise.
@end defun @end defun
......
...@@ -862,6 +862,7 @@ frame. ...@@ -862,6 +862,7 @@ frame.
*** `bool-vector-count-consecutive' *** `bool-vector-count-consecutive'
*** `bool-vector-count-population' *** `bool-vector-count-population'
+++
** Comparison functions =, <, >, <=, >= now take many arguments. ** Comparison functions =, <, >, <=, >= now take many arguments.
** The second argument of `eval' can now be a lexical-environment. ** The second argument of `eval' can now be a lexical-environment.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment