Function: org-roam-node--process-display-format
org-roam-node--process-display-format is a byte-compiled function
defined in org-roam-node.el.
Signature
(org-roam-node--process-display-format FORMAT)
Documentation
Pre-calculate minimal widths needed by the FORMAT string.
Source Code
;; Defined in ~/.emacs.d/elpa/org-roam-20260224.1637/org-roam-node.el
(defun org-roam-node--process-display-format (format)
"Pre-calculate minimal widths needed by the FORMAT string."
(let* ((fields-width 0)
(string-width
(string-width
(org-roam-format-template
format
(lambda (field _default-val)
(setq fields-width
(+ fields-width
(string-to-number
(or (cadr (split-string field ":"))
"")))))))))
(cons format (+ fields-width string-width))))