diff options
| author | Tassilo Horn | 2013-12-20 19:41:31 +0100 |
|---|---|---|
| committer | Tassilo Horn | 2013-12-20 19:41:31 +0100 |
| commit | 3fbba716fbf09f0c13c73e822df10a7607aa6799 (patch) | |
| tree | a77949e079e3d2bf6aa25fd1d045de128c521831 | |
| parent | f3a66082f986c33df1c72b0ab2b77195cdd8b435 (diff) | |
| download | emacs-3fbba716fbf09f0c13c73e822df10a7607aa6799.tar.gz emacs-3fbba716fbf09f0c13c73e822df10a7607aa6799.zip | |
Document that =, <, <=, >, >= now accept one or many arguments.
* doc/lispref/numbers.texi (numbers): Document that =, <, <=, >, >= now accept
one or many arguments.
| -rw-r--r-- | doc/lispref/ChangeLog | 3 | ||||
| -rw-r--r-- | doc/lispref/numbers.texi | 31 | ||||
| -rw-r--r-- | etc/NEWS | 1 |
3 files changed, 20 insertions, 15 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index be050b7141e..15730515301 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2013-12-20 Tassilo Horn <tsdh@gnu.org> | 1 | 2013-12-20 Tassilo Horn <tsdh@gnu.org> |
| 2 | 2 | ||
| 3 | * numbers.texi (numbers): Document that =, <, <=, >, >= now accept | ||
| 4 | one or many arguments. | ||
| 5 | |||
| 3 | * display.texi: Document `messages-buffer'. | 6 | * display.texi: Document `messages-buffer'. |
| 4 | 7 | ||
| 5 | * os.texi: Document `initial-buffer-choice' changes. | 8 | * os.texi: Document `initial-buffer-choice' changes. |
diff --git a/doc/lispref/numbers.texi b/doc/lispref/numbers.texi index 2b6f31b670b..1f08d31a4b1 100644 --- a/doc/lispref/numbers.texi +++ b/doc/lispref/numbers.texi | |||
| @@ -354,9 +354,9 @@ can have just one integer object for any given value because it has a | |||
| 354 | limited range of integer values. | 354 | limited range of integer values. |
| 355 | @end quotation | 355 | @end quotation |
| 356 | 356 | ||
| 357 | @defun = number-or-marker1 number-or-marker2 | 357 | @defun = number-or-marker &rest number-or-markers |
| 358 | This function tests whether its arguments are numerically equal, and | 358 | This function tests whether all its arguments are numerically equal, |
| 359 | returns @code{t} if so, @code{nil} otherwise. | 359 | and returns @code{t} if so, @code{nil} otherwise. |
| 360 | @end defun | 360 | @end defun |
| 361 | 361 | ||
| 362 | @defun eql value1 value2 | 362 | @defun eql value1 value2 |
| @@ -371,26 +371,27 @@ This function tests whether its arguments are numerically equal, and | |||
| 371 | returns @code{t} if they are not, and @code{nil} if they are. | 371 | returns @code{t} if they are not, and @code{nil} if they are. |
| 372 | @end defun | 372 | @end defun |
| 373 | 373 | ||
| 374 | @defun < number-or-marker1 number-or-marker2 | 374 | @defun < number-or-marker &rest number-or-markers |
| 375 | This function tests whether its first argument is strictly less than | 375 | This function tests whether every argument is strictly less than the |
| 376 | its second argument. It returns @code{t} if so, @code{nil} otherwise. | 376 | respective next argument. It returns @code{t} if so, @code{nil} |
| 377 | otherwise. | ||
| 377 | @end defun | 378 | @end defun |
| 378 | 379 | ||
| 379 | @defun <= number-or-marker1 number-or-marker2 | 380 | @defun <= number-or-marker &rest number-or-markers |
| 380 | This function tests whether its first argument is less than or equal | 381 | This function tests whether every argument is less than or equal to |
| 381 | to its second argument. It returns @code{t} if so, @code{nil} | 382 | the respective next argument. It returns @code{t} if so, @code{nil} |
| 382 | otherwise. | 383 | otherwise. |
| 383 | @end defun | 384 | @end defun |
| 384 | 385 | ||
| 385 | @defun > number-or-marker1 number-or-marker2 | 386 | @defun > number-or-marker &rest number-or-markers |
| 386 | This function tests whether its first argument is strictly greater | 387 | This function tests whether every argument is strictly greater than |
| 387 | than its second argument. It returns @code{t} if so, @code{nil} | 388 | the respective next argument. It returns @code{t} if so, @code{nil} |
| 388 | otherwise. | 389 | otherwise. |
| 389 | @end defun | 390 | @end defun |
| 390 | 391 | ||
| 391 | @defun >= number-or-marker1 number-or-marker2 | 392 | @defun >= number-or-marker &rest number-or-markers |
| 392 | This function tests whether its first argument is greater than or | 393 | This function tests whether every argument is greater than or equal to |
| 393 | equal to its second argument. It returns @code{t} if so, @code{nil} | 394 | the respective next argument. It returns @code{t} if so, @code{nil} |
| 394 | otherwise. | 395 | otherwise. |
| 395 | @end defun | 396 | @end defun |
| 396 | 397 | ||
| @@ -862,6 +862,7 @@ frame. | |||
| 862 | *** `bool-vector-count-consecutive' | 862 | *** `bool-vector-count-consecutive' |
| 863 | *** `bool-vector-count-population' | 863 | *** `bool-vector-count-population' |
| 864 | 864 | ||
| 865 | +++ | ||
| 865 | ** Comparison functions =, <, >, <=, >= now take many arguments. | 866 | ** Comparison functions =, <, >, <=, >= now take many arguments. |
| 866 | 867 | ||
| 867 | ** The second argument of `eval' can now be a lexical-environment. | 868 | ** The second argument of `eval' can now be a lexical-environment. |