Commit 0788f5f4 authored by Eli Zaretskii's avatar Eli Zaretskii

Improve documentation of new cl-lib functions

* doc/misc/cl.texi (Predicates on Numbers, Numerical Functions):
Fix wording.
parent 912ef073
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment