Function: org-roam-word-wrap
org-roam-word-wrap is a byte-compiled function defined in
org-roam-utils.el.
Signature
(org-roam-word-wrap LEN S)
Documentation
If S is longer than LEN, wrap the words with newlines.
Source Code
;; Defined in ~/.emacs.d/elpa/org-roam-20260224.1637/org-roam-utils.el
(defun org-roam-word-wrap (len s)
"If S is longer than LEN, wrap the words with newlines."
(declare (side-effect-free t))
(save-match-data
(with-temp-buffer
(insert s)
(let ((fill-column len))
(fill-region (point-min) (point-max)))
(buffer-substring (point-min) (point-max)))))