Skip to content

Commit

Permalink
add word wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
jkitchin committed Jul 10, 2024
1 parent 5566a5c commit f1d4273
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion org-db-audio.el
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,12 @@ inner join files on files.rowid = audio.filename_id%s"
"")))))
(candidates (cl-loop for (text fname position ofile) in db-candidates collect
(list
(s-join " " (s-split "\n" text))
(concat
(format "%s in %s" fname ofile)
"\n"
(s-word-wrap
80
(s-join " " (s-split "\n" text))))
fname
position
ofile))))
Expand Down

0 comments on commit f1d4273

Please sign in to comment.