Function: array-move-to-row
array-move-to-row is a byte-compiled function defined in array.el.gz.
Signature
(array-move-to-row A-ROW)
Documentation
Move to array row A-ROW preserving the current array column.
Leave point at the beginning of the field and return the new array row.
Source Code
;; Defined in /usr/src/emacs/lisp/array.el.gz
(defun array-move-to-row (a-row)
"Move to array row A-ROW preserving the current array column.
Leave point at the beginning of the field and return the new array row."
;; Requires that array-buffer-line and array-buffer-column be current.
(let ((goal-line (+ (* array-lines-per-row (1- a-row))
(% array-buffer-line array-lines-per-row)))
(goal-column (- array-buffer-column (% array-buffer-column array-field-width))))
(forward-line (- goal-line array-buffer-line))
(array-move-to-column-untabify goal-column)
a-row))