summaryrefslogtreecommitdiff
path: root/lisp/textmodes/ispell.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/textmodes/ispell.el')
-rw-r--r--lisp/textmodes/ispell.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index c8926776400..1de27265b08 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -2296,9 +2296,9 @@ Optional third arg SHIFT is an offset to apply based on previous corrections."
(setq output (substring output (match-end 0))) ; skip over misspelling
(if (eq type ?#)
(setq count 0) ; no misses for type #
- (setq count (string-to-int output) ; get number of misses.
+ (setq count (string-to-number output) ; get number of misses.
output (substring output (1+ (string-match " " output 1)))))
- (setq offset (string-to-int output))
+ (setq offset (string-to-number output))
(if (eq type ?#) ; No miss or guess list.
(setq output nil)
(setq output (substring output (1+ (string-match " " output 1)))))