Function: array-forward-column

array-forward-column is an interactive and byte-compiled function defined in array.el.gz.

Signature

(array-forward-column &optional ARG)

Documentation

Move forward one field, staying in the current array row.

If optional ARG is given, move forward ARG array columns. If necessary, keep the cursor in the window by scrolling right or left.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/array.el.gz
(defun array-forward-column (&optional arg)
  "Move forward one field, staying in the current array row.
If optional ARG is given, move forward ARG array columns.
If necessary, keep the cursor in the window by scrolling right or left."
  (interactive "p")
  (let ((array-buffer-line (array-current-line))
	(array-buffer-column (current-column)))
    (if (= (abs arg) 1)
	(array-move-one-column arg)
      (array-move-to-column
       (array--limit-index (+ (or (array-current-column)
                             (error "Cursor is not in an array cell"))
                         arg)
                      array-max-column))))
  (array-normalize-cursor))