diff options
author | David Aspinall <da@inf.ed.ac.uk> | 2007-12-10 11:47:45 +0000 |
---|---|---|
committer | David Aspinall <da@inf.ed.ac.uk> | 2007-12-10 11:47:45 +0000 |
commit | 9bc3f266832ec50c30802f60e4af5ef88aeadc69 (patch) | |
tree | e66da819d249c050d39ea219e724cd15a11aef52 /generic/pg-response.el | |
parent | 95e2a29f51fb86ee958a261ac195d7e8c96d1741 (diff) |
Emacs compatibility/API updates: string-to-int -> string-to-number
Diffstat (limited to 'generic/pg-response.el')
-rw-r--r-- | generic/pg-response.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/pg-response.el b/generic/pg-response.el index efba8e12..015b111a 100644 --- a/generic/pg-response.el +++ b/generic/pg-response.el @@ -380,9 +380,9 @@ and start at the first error." (beginning-of-line) (point))) (setq line (match-string 2)) ; may be unset - (if line (setq line (string-to-int line))) + (if line (setq line (string-to-number line))) (setq column (match-string 3)) ; may be unset - (if column (setq column (string-to-int column))) + (if column (setq column (string-to-number column))) (setq pg-response-next-error wanted-error) (if (and pg-next-error-filename-regexp |