Function: ses-create-cell-variable-range
ses-create-cell-variable-range is a byte-compiled function defined in
ses.el.gz.
Signature
(ses-create-cell-variable-range MINROW MAXROW MINCOL MAXCOL)
Documentation
Create buffer-local variables for cells. This is undoable.
Source Code
;; Defined in /usr/src/emacs/lisp/ses.el.gz
(defun ses-create-cell-variable-range (minrow maxrow mincol maxcol)
"Create buffer-local variables for cells. This is undoable."
(push `(apply ses-destroy-cell-variable-range ,minrow ,maxrow ,mincol ,maxcol)
buffer-undo-list)
(let (sym xrow xcol)
(dotimes (row (1+ (- maxrow minrow)))
(dotimes (col (1+ (- maxcol mincol)))
(setq xrow (+ row minrow)
xcol (+ col mincol)
sym (ses-create-cell-symbol xrow xcol))
(put sym 'ses-cell (cons xrow xcol))
(make-local-variable sym)))))