Fix: string-to-int was removed in v26.1.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 07 May 2019 00:37:09 +0300
changeset 1157 41bb8575966d
parent 1156 5eafc99ca629
child 1158 90161dc09c02
Fix: string-to-int was removed in v26.1.
contrib/gaphrase.el
--- a/contrib/gaphrase.el	Mon May 06 00:06:56 2019 +0300
+++ b/contrib/gaphrase.el	Tue May 07 00:37:09 2019 +0300
@@ -35,7 +35,7 @@
         (when (looking-at "## \\([1-9][0-9]*\\)")
           (setq beg (match-beginning 1)
                 end (match-end 1))
-          (setq num (string-to-int (buffer-substring beg end)))
+          (setq num (string-to-number (buffer-substring beg end)))
           (delete-region beg end)
           (goto-char beg)
           (setq num (1+ num))