Function: tabulated-list--col-local-max-widths

tabulated-list--col-local-max-widths is a byte-compiled function defined in tabulated-list.el.gz.

Signature

(tabulated-list--col-local-max-widths COL)

Documentation

Return maximum entry widths at column COL around current row.

Check the current row, the previous one and the next row.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/tabulated-list.el.gz
(defsubst tabulated-list--col-local-max-widths (col)
   "Return maximum entry widths at column COL around current row.
Check the current row, the previous one and the next row."
  (apply #'max (mapcar (lambda (x)
                         (let ((nt (elt x col)))
                           (string-width (if (stringp nt) nt (car nt)))))
                       tabulated-list--near-rows)))