changeset 51057:afc4352d55f3

(number-to-register): Use `string-to-number' instead of `string-to-int'.
author John Paul Wallington <jpw@pobox.com>
date Sat, 17 May 2003 22:43:58 +0000
parents 5dbeffb17d8e
children 8c21d7bbb81b
files lisp/register.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/register.el	Sat May 17 22:43:51 2003 +0000
+++ b/lisp/register.el	Sat May 17 22:43:58 2003 +0000
@@ -146,7 +146,7 @@
 		  (if (looking-at "\\s-*-?[0-9]+")
 		      (progn
 			(goto-char (match-end 0))
-			(string-to-int (match-string 0)))
+			(string-to-number (match-string 0)))
 		    0))))
 
 (defun increment-register (number register)