1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

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

* doc/lispref/numbers.texi (numbers): Document that =, <, <=, >, >= now accept
one or many arguments.
This commit is contained in:
Tassilo Horn 2013-12-20 19:41:31 +01:00
parent f3a66082f9
commit 3fbba716fb
3 changed files with 22 additions and 17 deletions

View 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.

View 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.
@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 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 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 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 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 strictly greater than
the respective next argument. It returns @code{t} if so, @code{nil}
otherwise.
@end defun
@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

View File

@ -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.