Function: org--do-wrap
org--do-wrap is a byte-compiled function defined in org-macs.el.gz.
Signature
(org--do-wrap WORDS WIDTH)
Documentation
Create lines of maximum width WIDTH (in characters) from word list WORDS.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-macs.el.gz
(defun org--do-wrap (words width)
"Create lines of maximum width WIDTH (in characters) from word list WORDS."
(let (lines line)
(while words
(setq line (pop words))
(while (and words (< (+ (length line) (length (car words))) width))
(setq line (concat line " " (pop words))))
(setq lines (push line lines)))
(nreverse lines)))