diff man/lispref/numbers.texi @ 54:05472e90ae02 r19-16-pre2

Import from CVS: tag r19-16-pre2
author cvs
date Mon, 13 Aug 2007 08:57:55 +0200
parents 376386a54a3c
children 131b0175ea99
line wrap: on
line diff
--- a/man/lispref/numbers.texi	Mon Aug 13 08:57:25 2007 +0200
+++ b/man/lispref/numbers.texi	Mon Aug 13 08:57:55 2007 +0200
@@ -198,7 +198,7 @@
 
 @defun natnump object
 @cindex natural numbers
-The @code{wholenump} predicate (whose name comes from the phrase
+The @code{natnump} predicate (whose name comes from the phrase
 ``natural-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.
@@ -223,7 +223,7 @@
 of the objects.
 
   At present, each integer value has a unique Lisp object in XEmacs Lisp.
-Therefore, @code{eq} is equivalent @code{=} where integers are
+Therefore, @code{eq} is equivalent to @code{=} where integers are
 concerned.  It is sometimes convenient to use @code{eq} for comparing an
 unknown value with an integer, because @code{eq} does not report an
 error if the unknown value is not a number---it accepts arguments of any
@@ -261,8 +261,8 @@
 @end defun
 
 @defun /= number-or-marker1 number-or-marker2
-This function tests whether its arguments are numerically equal, and
-returns @code{t} if they are not, and @code{nil} if they are.
+This function tests whether its arguments are numerically not equal.  It
+returns @code{t} if so, and @code{nil} otherwise.
 @end defun
 
 @defun <  number-or-marker1 number-or-marker2
@@ -395,6 +395,10 @@
 (setq foo (1+ foo))
      @result{} 5
 @end example
+
+Now that the @code{cl} package is always available from lisp code, a
+more convenient and natural way to increment a variable is
+@w{@code{(incf foo)}}.
 @end defun
 
 @defun 1- number-or-marker