diff options
| author | Juanma Barranquero | 2005-05-16 11:34:49 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2005-05-16 11:34:49 +0000 |
| commit | 027a4b6b3fd229f8aea323f59cb246d99deb8a75 (patch) | |
| tree | c92da7d3049376d7bd687db6bc5c8dce82ed9335 /lisp/array.el | |
| parent | 216d380630ec8be9569a56687f0e08b89ee97c47 (diff) | |
| download | emacs-027a4b6b3fd229f8aea323f59cb246d99deb8a75.tar.gz emacs-027a4b6b3fd229f8aea323f59cb246d99deb8a75.zip | |
Replace `string-to-int' by `string-to-number'.
Diffstat (limited to 'lisp/array.el')
| -rw-r--r-- | lisp/array.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/array.el b/lisp/array.el index 3aa5d4bd319..56ef9b264de 100644 --- a/lisp/array.el +++ b/lisp/array.el | |||
| @@ -647,7 +647,7 @@ of array-rows-numbered." | |||
| 647 | (<= new-columns-per-line array-max-column)) | 647 | (<= new-columns-per-line array-max-column)) |
| 648 | (setq check nil) | 648 | (setq check nil) |
| 649 | (setq new-columns-per-line | 649 | (setq new-columns-per-line |
| 650 | (string-to-int | 650 | (string-to-number |
| 651 | (read-input | 651 | (read-input |
| 652 | (format "Columns per line (1 - %d): " array-max-column))))))) | 652 | (format "Columns per line (1 - %d): " array-max-column))))))) |
| 653 | ;; Check on new-rows-numbered. It has to be done this way | 653 | ;; Check on new-rows-numbered. It has to be done this way |
| @@ -927,22 +927,22 @@ Entering array mode calls the function `array-mode-hook'." | |||
| 927 | (defun array-init-max-row (&optional arg) | 927 | (defun array-init-max-row (&optional arg) |
| 928 | "Initialize the value of `array-max-row'." | 928 | "Initialize the value of `array-max-row'." |
| 929 | (setq array-max-row | 929 | (setq array-max-row |
| 930 | (or arg (string-to-int (read-input "Number of array rows: "))))) | 930 | (or arg (string-to-number (read-input "Number of array rows: "))))) |
| 931 | 931 | ||
| 932 | (defun array-init-max-column (&optional arg) | 932 | (defun array-init-max-column (&optional arg) |
| 933 | "Initialize the value of `array-max-column'." | 933 | "Initialize the value of `array-max-column'." |
| 934 | (setq array-max-column | 934 | (setq array-max-column |
| 935 | (or arg (string-to-int (read-input "Number of array columns: "))))) | 935 | (or arg (string-to-number (read-input "Number of array columns: "))))) |
| 936 | 936 | ||
| 937 | (defun array-init-columns-per-line (&optional arg) | 937 | (defun array-init-columns-per-line (&optional arg) |
| 938 | "Initialize the value of `array-columns-per-line'." | 938 | "Initialize the value of `array-columns-per-line'." |
| 939 | (setq array-columns-per-line | 939 | (setq array-columns-per-line |
| 940 | (or arg (string-to-int (read-input "Array columns per line: "))))) | 940 | (or arg (string-to-number (read-input "Array columns per line: "))))) |
| 941 | 941 | ||
| 942 | (defun array-init-field-width (&optional arg) | 942 | (defun array-init-field-width (&optional arg) |
| 943 | "Initialize the value of `array-field-width'." | 943 | "Initialize the value of `array-field-width'." |
| 944 | (setq array-field-width | 944 | (setq array-field-width |
| 945 | (or arg (string-to-int (read-input "Field width: "))))) | 945 | (or arg (string-to-number (read-input "Field width: "))))) |
| 946 | 946 | ||
| 947 | (defun array-init-rows-numbered (&optional arg) | 947 | (defun array-init-rows-numbered (&optional arg) |
| 948 | "Initialize the value of `array-rows-numbered'." | 948 | "Initialize the value of `array-rows-numbered'." |