diff lisp/ansi-color.el @ 62402:a7e02ef1e3d6

Replace `string-to-int' by `string-to-number'.
author Juanma Barranquero <lekktu@gmail.com>
date Mon, 16 May 2005 11:33:47 +0000
parents 33d3fb6cbd6e
children 6fb026ad601f f042e7c0fe20
line wrap: on
line diff
--- a/lisp/ansi-color.el	Mon May 16 10:07:59 2005 +0000
+++ b/lisp/ansi-color.el	Mon May 16 11:33:47 2005 +0000
@@ -619,7 +619,7 @@
     (while (string-match ansi-color-r escape-seq i)
       (setq i (match-end 0)
 	    val (ansi-color-get-face-1
-		 (string-to-int (match-string 0 escape-seq) 10)))
+		 (string-to-number (match-string 0 escape-seq) 10)))
       (cond ((not val))
 	    ((eq val 'default)
 	     (setq f (list val)))