aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTassilo Horn2013-12-20 19:41:31 +0100
committerTassilo Horn2013-12-20 19:41:31 +0100
commit3fbba716fbf09f0c13c73e822df10a7607aa6799 (patch)
treea77949e079e3d2bf6aa25fd1d045de128c521831
parentf3a66082f986c33df1c72b0ab2b77195cdd8b435 (diff)
downloademacs-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/ChangeLog3
-rw-r--r--doc/lispref/numbers.texi31
-rw-r--r--etc/NEWS1
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 @@
12013-12-20 Tassilo Horn <tsdh@gnu.org> 12013-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
354limited range of integer values. 354limited 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
358This function tests whether its arguments are numerically equal, and 358This function tests whether all its arguments are numerically equal,
359returns @code{t} if so, @code{nil} otherwise. 359and 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
371returns @code{t} if they are not, and @code{nil} if they are. 371returns @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
375This function tests whether its first argument is strictly less than 375This function tests whether every argument is strictly less than the
376its second argument. It returns @code{t} if so, @code{nil} otherwise. 376respective next argument. It returns @code{t} if so, @code{nil}
377otherwise.
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
380This function tests whether its first argument is less than or equal 381This function tests whether every argument is less than or equal to
381to its second argument. It returns @code{t} if so, @code{nil} 382the respective next argument. It returns @code{t} if so, @code{nil}
382otherwise. 383otherwise.
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
386This function tests whether its first argument is strictly greater 387This function tests whether every argument is strictly greater than
387than its second argument. It returns @code{t} if so, @code{nil} 388the respective next argument. It returns @code{t} if so, @code{nil}
388otherwise. 389otherwise.
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
392This function tests whether its first argument is greater than or 393This function tests whether every argument is greater than or equal to
393equal to its second argument. It returns @code{t} if so, @code{nil} 394the respective next argument. It returns @code{t} if so, @code{nil}
394otherwise. 395otherwise.
395@end defun 396@end defun
396 397
diff --git a/etc/NEWS b/etc/NEWS
index 1e44a020856..57516bfafb4 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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.