mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* lisp/emacs-lisp/cl-extra.el (cl-parse-integer): side-effect-free.
This commit is contained in:
parent
48ecbccaa3
commit
bb567e339a
1 changed files with 1 additions and 0 deletions
|
|
@ -408,6 +408,7 @@ Other non-digit chars are considered junk.
|
|||
RADIX is an integer between 2 and 36, the default is 10. Signal
|
||||
an error if the substring between START and END cannot be parsed
|
||||
as an integer unless JUNK-ALLOWED is non-nil."
|
||||
(declare (side-effect-free t))
|
||||
(cl-check-type string string)
|
||||
(let* ((start (or start 0))
|
||||
(len (length string))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue