Function: array-next-row

array-next-row is an interactive and byte-compiled function defined in array.el.gz.

Signature

(array-next-row &optional ARG)

Documentation

Move down one array row, staying in the current array column.

If optional ARG is given, move down ARG array rows.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/array.el.gz
;;; Movement commands.

(defun array-next-row (&optional arg)
  "Move down one array row, staying in the current array column.
If optional ARG is given, move down ARG array rows."
  (interactive "p")
  (let ((array-buffer-line (current-line))
	(array-buffer-column (current-column)))
    (if (= (abs arg) 1)
	(array-move-one-row arg)
      (array-move-to-row
       (limit-index (+ (or (array-current-row)
			   (error "Cursor is not in an array cell"))
		       arg)
		    array-max-row))))
  (array-normalize-cursor))