diff options
| author | Karoly Lorentey | 2005-05-20 17:44:36 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2005-05-20 17:44:36 +0000 |
| commit | b4bb3cbc7caca5c9c207d9ed42cacb978790af67 (patch) | |
| tree | 6d347dbb4b2db074171d0bbcb89afe851cffe85b /lisp/array.el | |
| parent | 35bc5d82600f330082298823f09f53259a90ea81 (diff) | |
| parent | a18ff9886771c41186eebf8d7984fee2120dbe36 (diff) | |
| download | emacs-b4bb3cbc7caca5c9c207d9ed42cacb978790af67.tar.gz emacs-b4bb3cbc7caca5c9c207d9ed42cacb978790af67.zip | |
Merged from miles@gnu.org--gnu-2005 (patch 69, 313-319)
Patches applied:
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-313
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-314
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-315
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-316
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-317
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-318
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-319
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-69
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-347
Diffstat (limited to 'lisp/array.el')
| -rw-r--r-- | lisp/array.el | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/array.el b/lisp/array.el index 3aa5d4bd319..f65f14ac550 100644 --- a/lisp/array.el +++ b/lisp/array.el | |||
| @@ -607,7 +607,7 @@ If optional ARG is given, copy through ARG rows up." | |||
| 607 | (let ((check t) | 607 | (let ((check t) |
| 608 | (len)) | 608 | (len)) |
| 609 | (while check | 609 | (while check |
| 610 | (setq array-init-field (read-input "Initial field value: ")) | 610 | (setq array-init-field (read-string "Initial field value: ")) |
| 611 | (setq len (length array-init-field)) | 611 | (setq len (length array-init-field)) |
| 612 | (if (/= len array-field-width) | 612 | (if (/= len array-field-width) |
| 613 | (if (y-or-n-p (format "Change field width to %d? " len)) | 613 | (if (y-or-n-p (format "Change field width to %d? " len)) |
| @@ -647,8 +647,8 @@ 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-string |
| 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 |
| 654 | ;; because interactive does not have y-or-n-p. | 654 | ;; because interactive does not have y-or-n-p. |
| @@ -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-string "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-string "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-string "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-string "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'." |