Function: 5x5-position-cursor

5x5-position-cursor is a byte-compiled function defined in 5x5.el.gz.

Signature

(5x5-position-cursor)

Documentation

Position the cursor on the grid.

Source Code

;; Defined in /usr/src/emacs/lisp/play/5x5.el.gz
(defun 5x5-position-cursor ()
  "Position the cursor on the grid."
  (goto-char (point-min))
  (forward-line (1+ (* 5x5-y-pos 5x5-y-scale)))
  (goto-char (+ (point) (* 5x5-x-pos 5x5-x-scale) (+ 5x5-x-pos 1) 1)))