Function: table--fill-region
table--fill-region is a byte-compiled function defined in table.el.gz.
Signature
(table--fill-region BEG END &optional COL JUSTIFY)
Documentation
Fill paragraphs in table cell cache.
Current buffer must already be set to the cache buffer.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/table.el.gz
(defun table--fill-region (beg end &optional col justify)
"Fill paragraphs in table cell cache.
Current buffer must already be set to the cache buffer."
(let ((fill-column (or col table-cell-info-width))
(fill-prefix nil)
(enable-kinsoku nil)
(adaptive-fill-mode nil)
(marker-beg (copy-marker beg))
(marker-end (copy-marker end))
(marker-point (point-marker)))
(setq justify (or justify table-cell-info-justify))
(and justify
(not (eq justify 'left))
(set-marker-insertion-type marker-point t))
(table--remove-eol-spaces (point-min) (point-max))
(if table-fixed-width-mode
(table--fill-region-strictly marker-beg marker-end)
(let ((paragraph-start table-paragraph-start))
(fill-region marker-beg marker-end justify nil t)))
(goto-char marker-point)
(set-marker marker-beg nil)
(set-marker marker-end nil)
(set-marker marker-point nil)))