+2001-08-18 Karl Eichwalder <ke@suse.de>
+
+ * po-mode.el (po-ensure-source-references): Use 'string-to-number'
+ instead of 'string-to-int'.
+ (po-msgfmt-version-check): Likewise.
+
2001-08-11 Karl Eichwalder <ke@suse.de>
* po-mode.el (po-edit-string): Set indent-line-function to
(setq po-reference-alist
(cons (list (concat current ":" line)
current
- (string-to-int line))
+ (string-to-number line))
po-reference-alist)))))))
(setq po-reference-alist (nreverse po-reference-alist)
po-reference-cursor po-reference-alist
(looking-at ".* \\([0-9]+\\)\\.\\([0-9]+\\)\\.\\([0-9]+\\)$")))
;; Make sure the version is recent enough.
- (>= (string-to-int
+ (>= (string-to-number
(format "%d%03d%03d"
- (string-to-int (match-string 1))
- (string-to-int (match-string 2))
- (string-to-int (or (match-string 3) "0"))))
+ (string-to-number (match-string 1))
+ (string-to-number (match-string 2))
+ (string-to-number (or (match-string 3) "0"))))
010036)
;; Remember the outcome.