Function: ses-print-cell-new-width

ses-print-cell-new-width is a byte-compiled function defined in ses.el.gz.

Signature

(ses-print-cell-new-width ROW COL)

Documentation

Same as ses-print-cell, except if the cell's value is *skip*, the preceding nonskipped cell is reprinted. This function is used when the width of cell (ROW,COL) has changed.

Source Code

;; Defined in /usr/src/emacs/lisp/ses.el.gz
(defun ses-print-cell-new-width (row col)
  "Same as `ses-print-cell', except if the cell's value is *skip*,
the preceding nonskipped cell is reprinted.  This function is used
when the width of cell (ROW,COL) has changed."
  (if (not (eq (ses-cell-value row col) '*skip*))
      (ses-print-cell row col)
    ;;Cell was skipped over - reprint previous
    (ses-goto-print row col)
    (backward-char 1)
    (let ((rowcol (ses-sym-rowcol (ses--cell-at-pos (point)))))
      (ses-print-cell (car rowcol) (cdr rowcol)))))