]> code.delx.au - gnu-emacs/blobdiff - doc/lispref/numbers.texi
Update Functions chapter of Lisp manual; document closures.
[gnu-emacs] / doc / lispref / numbers.texi
index 77db0f86c26bd28803f782cc7cd94e26a6218cb9..82336aa537fd23a310d296f88230ae26f5368c91 100644 (file)
@@ -282,15 +282,15 @@ This predicate tests whether its argument is a number (either integer or
 floating point), and returns @code{t} if so, @code{nil} otherwise.
 @end defun
 
-@defun wholenump object
+@defun natnump object
 @cindex natural numbers
-The @code{wholenump} predicate (whose name comes from the phrase
-``whole-number-p'') tests to see whether its argument is a nonnegative
-integer, and returns @code{t} if so, @code{nil} otherwise.  0 is
-considered non-negative.
+This predicate (whose name comes from the phrase ``natural number'')
+tests to see whether its argument is a nonnegative integer, and
+returns @code{t} if so, @code{nil} otherwise.  0 is considered
+non-negative.
 
-@findex natnump
-@code{natnump} is an obsolete synonym for @code{wholenump}.
+@findex wholenump number
+This is a synonym for @code{natnump}.
 @end defun
 
 @defun zerop number