From 2b3e3629fe12754eb208b775e3311d587c5a33b1 Mon Sep 17 00:00:00 2001 From: Christophe Rhodes Date: Tue, 8 Apr 2014 22:03:53 +0100 Subject: [PATCH] use string-to-number rather than parse-integer --- squeeze.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/squeeze.el b/squeeze.el index c4a229a..e79a581 100644 --- a/squeeze.el +++ b/squeeze.el @@ -356,7 +356,7 @@ (startpos (match-end 0))) (unless countpos (message "no count found in players line")) - (let ((count (parse-integer string (match-beginning 1) (match-end 1))) + (let ((count (string-to-number (substring string (match-beginning 1) (match-end 1)))) result endpos) (dotimes (i (1- count)) (setq endpos (progn (string-match " connected%3A[0-1] " string startpos) -- 2.30.2