]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve documentation of new cl-lib functions
authorEli Zaretskii <eliz@gnu.org>
Sat, 19 Dec 2015 15:17:40 +0000 (17:17 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 19 Dec 2015 15:17:40 +0000 (17:17 +0200)
* doc/misc/cl.texi (Predicates on Numbers, Numerical Functions):
Fix wording.

doc/misc/cl.texi
etc/NEWS

index 1f38ca98c62f2141dbb45098ec93f508679306aa..0ab2477b86dd24833d9c85b3d91a26252a1ed5ce 100644 (file)
@@ -2937,7 +2937,7 @@ error if the argument is not an integer.
 
 @defun cl-digit-char-p char radix
 Test if @var{char} is a digit in the specified @var{radix} (default is
-10).  If true return the decimal value of digit @var{char} in
+10).  If it is, return the numerical value of digit @var{char} in
 @var{radix}.
 @end defun
 
@@ -3027,9 +3027,10 @@ of @code{cl-truncate}.
 This function implements the Common Lisp @code{parse-integer}
 function.  It parses an integer in the specified @var{radix} from the
 substring of @var{string} between @var{start} and @var{end}.  Any
-leading and trailing whitespace chars are ignored. It signals an error
-if the substring between @var{start} and @var{end} cannot be parsed as
-an integer unless @var{junk-allowed} is non-nil.
+leading and trailing whitespace chars are ignored.  The function
+signals an error if the substring between @var{start} and @var{end}
+cannot be parsed as an integer, unless @var{junk-allowed} is
+non-@code{nil}.
 @end defun
 
 @node Random Numbers
index b8d4dee76a0657e43dabf968d6c7dd7d02ea0a28..d56c714f94c2e1fefaf35a823d6e11f716fb5ff8 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -656,7 +656,8 @@ then FUN will be appended to `minibuffer-setup-hook', instead of
 prepending it.
 
 ** cl-lib
-*** New functions cl-fresh-line, cl-digit-char-p and cl-parse-integer.
++++
+*** New functions `cl-fresh-line', `cl-digit-char-p', and `cl-parse-integer'.
 
 ** Calendar and diary