Function: 5x5-copy-grid

5x5-copy-grid is a byte-compiled function defined in 5x5.el.gz.

Signature

(5x5-copy-grid GRID)

Documentation

Make a new copy of GRID.

Source Code

;; Defined in /usr/src/emacs/lisp/play/5x5.el.gz
(defun 5x5-copy-grid (grid)
  "Make a new copy of GRID."
  (let ((copy (5x5-make-new-grid)))
    (dotimes (y 5x5-grid-size)
      (dotimes (x 5x5-grid-size)
        (5x5-set-cell copy y x (5x5-cell grid y x))))
    copy))