summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2012-01-29 15:25:22 +0800
committerChong Yidong <cyd@gnu.org>2012-01-29 15:25:22 +0800
commit0f29fa41ac3b0cb7660133281039b25a8a5330c9 (patch)
treee5bd59c8c8cc4292a2df89f3588a856222110a25
parent6b25e4e27d3386d08d2b5d64ea717780c05f5c65 (diff)
downloademacs-0f29fa41ac3b0cb7660133281039b25a8a5330c9.tar.gz
Fix wholenump/natnump description in Lisp manual.
* doc/lispref/numbers.texi (Predicates on Numbers): Fix wholenump/natnump description. Fixes: debbugs:10189
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/numbers.texi14
-rw-r--r--lisp/ChangeLog2
3 files changed, 13 insertions, 8 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index e34625e5b19..207c0797f69 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
+2012-01-29 Chong Yidong <cyd@gnu.org>
+
+ * numbers.texi (Predicates on Numbers): Fix wholenump/natnump
+ description (Bug#10189).
+
2012-01-29 Glenn Morris <rgm@gnu.org>
* files.texi (Changing Files): Document SELinux support.
diff --git a/doc/lispref/numbers.texi b/doc/lispref/numbers.texi
index 77db0f86c26..bec9f295227 100644
--- a/doc/lispref/numbers.texi
+++ b/doc/lispref/numbers.texi
@@ -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 ``natual 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
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6e3ec3a340d..8a6b3649e25 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,4 +1,4 @@
-2012-01-29 Syver Enstad <syver.enstad@cisco.com>
+2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
* progmodes/gud.el (pdb): Give pdb full paths, to allow setting
breakpoints in files outside current directory (Bug#6098).