# HG changeset patch # User Glenn Morris # Date 1201925723 0 # Node ID dca6485ff3740626c3c0a9323efc6908434315ff # Parent 7e0406056a29aa5ccd552e8fd66344bd903a4247 (bdf-read-font-info): Use string-to-number rather than string-to-int. diff -r 7e0406056a29 -r dca6485ff374 lisp/ps-bdf.el --- a/lisp/ps-bdf.el Sat Feb 02 04:14:42 2008 +0000 +++ b/lisp/ps-bdf.el Sat Feb 02 04:15:23 2008 +0000 @@ -240,7 +240,7 @@ (goto-char (point-min)) (search-forward "\nFONT ") (if (looking-at "-[^-]*-[^-]*-[^-]*-[^-]*-[^-]*-[^-]*-\\([0-9]+\\)") - (setq size (string-to-int (match-string 1))) + (setq size (string-to-number (match-string 1))) (search-forward "\nSIZE ") (setq size (read (current-buffer))) ;; The following kludgy code is t avoid bugs of several