Function: ses-center-span
ses-center-span is a byte-compiled function defined in ses.el.gz.
Signature
(ses-center-span VALUE &optional FILL PRINTER)
Documentation
Print VALUE, centered within the span that starts in the current column and continues until the next nonblank column. FILL specifies the fill character (default = space).
Source Code
;; Defined in /usr/src/emacs/lisp/ses.el.gz
(defun ses-center-span (value &optional fill printer)
"Print VALUE, centered within the span that starts in the current column
and continues until the next nonblank column.
FILL specifies the fill character (default = space)."
(let ((end (1+ ses--col)))
(while (and (< end ses--numcols)
(memq (ses-cell-value ses--row end) '(nil *skip*)))
(setq end (1+ end)))
(ses-center value (- end ses--col 1) fill printer)))