From: Eli Zaretskii Date: Sat, 19 Dec 2015 15:17:40 +0000 (+0200) Subject: Improve documentation of new cl-lib functions X-Git-Tag: emacs-25.0.90~432 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0788f5f412b5380c567710987259415571e9c3da;p=emacs.git Improve documentation of new cl-lib functions * doc/misc/cl.texi (Predicates on Numbers, Numerical Functions): Fix wording. --- diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi index 1f38ca98c62..0ab2477b86d 100644 --- a/doc/misc/cl.texi +++ b/doc/misc/cl.texi @@ -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 diff --git a/etc/NEWS b/etc/NEWS index b8d4dee76a0..d56c714f94c 100644 --- 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