diff options
| -rw-r--r-- | lisp/emacs-lisp/cl-extra.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/cl-extra.el b/lisp/emacs-lisp/cl-extra.el index c8404e0bc2d..e10844069ef 100644 --- a/lisp/emacs-lisp/cl-extra.el +++ b/lisp/emacs-lisp/cl-extra.el | |||
| @@ -415,7 +415,8 @@ as an integer unless JUNK-ALLOWED is non-nil." | |||
| 415 | (skip-whitespace) | 415 | (skip-whitespace) |
| 416 | (cond ((and junk-allowed (null sum)) sum) | 416 | (cond ((and junk-allowed (null sum)) sum) |
| 417 | (junk-allowed (* sign sum)) | 417 | (junk-allowed (* sign sum)) |
| 418 | ((/= start end) (error "Not an integer string: %s" string)) | 418 | ((or (/= start end) (null sum)) |
| 419 | (error "Not an integer string: `%s'" string)) | ||
| 419 | (t (* sign sum))))))) | 420 | (t (* sign sum))))))) |
| 420 | 421 | ||
| 421 | 422 | ||