[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 0788f5f: Improve documentation of new cl-lib func
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-25 0788f5f: Improve documentation of new cl-lib functions |
Date: |
Sat, 19 Dec 2015 15:18:09 +0000 |
branch: emacs-25
commit 0788f5f412b5380c567710987259415571e9c3da
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Improve documentation of new cl-lib functions
* doc/misc/cl.texi (Predicates on Numbers, Numerical Functions):
Fix wording.
---
doc/misc/cl.texi | 9 +++++----
etc/NEWS | 3 ++-
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi
index 1f38ca9..0ab2477 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
address@hidden
@end defun
@node Random Numbers
diff --git a/etc/NEWS b/etc/NEWS
index b8d4dee..d56c714 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 0788f5f: Improve documentation of new cl-lib functions,
Eli Zaretskii <=