Function: table--update-cell-heightened
table--update-cell-heightened is a byte-compiled function defined in
table.el.gz.
Signature
(table--update-cell-heightened &optional NOW)
Documentation
Update the contents of the cells that are affected by heightening operation.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/table.el.gz
(defun table--update-cell-heightened (&optional now)
"Update the contents of the cells that are affected by heightening operation."
(if (null table-heighten-timer) nil
(cancel-timer table-heighten-timer)
(setq table-heighten-timer nil))
(if (not now)
(setq table-heighten-timer
(run-with-idle-timer (+ table-time-before-update table-time-before-reformat)
nil
(function table--update-cell-heightened)
'now))
(save-current-buffer
(if table-update-timer
(table--update-cell 'now))
(if table-widen-timer
(table--update-cell-widened 'now))
(set-buffer table-cell-buffer)
(let* ((current-coordinate (table--get-coordinate))
(current-cell-coordinate (table--cell-to-coord (table--probe-cell)))
(cell-coord-list (progn
(table--goto-coordinate table-cell-info-lu-coordinate)
(table--cell-list-to-coord-list (table--horizontal-cell-list)))))
(while cell-coord-list
(let* ((cell-coord (prog1 (car cell-coord-list) (setq cell-coord-list (cdr cell-coord-list))))
(currentp (equal cell-coord current-cell-coordinate)))
(if currentp (table--goto-coordinate current-coordinate)
(table--goto-coordinate (car cell-coord)))
(table-recognize-cell 'force)
(let ((table-inhibit-update t))
(table-with-cache-buffer
(let ((sticky (and currentp
(save-excursion
(unless (bolp) (forward-char -1))
(looking-at ".*\\S ")))))
(table--valign)
(if sticky
(setq current-coordinate (table--transcoord-cache-to-table))))))
(table--update-cell 'now)
))
(table--goto-coordinate current-coordinate)
(table-recognize-cell 'force)))))