Mercurial > emacs
diff lisp/progmodes/cperl-mode.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 | 7dbe52d92117 |
children | 25f639ed2b2d f042e7c0fe20 |
line wrap: on
line diff
--- a/lisp/progmodes/cperl-mode.el Mon May 16 10:07:59 2005 +0000 +++ b/lisp/progmodes/cperl-mode.el Mon May 16 11:33:47 2005 +0000 @@ -120,7 +120,7 @@ ;; Probably will not work due to some save-excursion??? ;; Or save-file-position? ;; (message "Did I get to line %s?" (elt (, elt) 1)) - `(goto-line (string-to-int (elt ,elt 1)))) + `(goto-line (string-to-number (elt ,elt 1)))) ;;) (defmacro cperl-etags-goto-tag-location (elt) `(etags-goto-tag-location ,elt))))