Derek Thomas wrote: > > Nick Dokos writes: > > > >> (defun org-list-to-paragraph () > >> "Convert the list at point into a paragraph." > >> (interactive) > >> (insert (org-list-to-generic (org-list-parse-list t) > >> '(:ustart "" > >> :splice t > >> :isep " " > >> :nobr t )))) > >> > >> > >> (defun org-lists-to-paragraphs () > >> (goto-char (point-min)) > >> (condition-case nil > >> (while (org-list-search-forward "+ ") > >> (org-list-to-paragraph)) > >> (error nil))) > >> > >> (add-hook 'org-export-preprocess-hook > >> (function org-lists-to-paragraphs)) > > > This looks like it will do what I want. Is there any way to restrict > this export option to certain org files? Thanks, > With elisp you can do anything: just a small matter of programming (TM). E.g. you can set up a list with the files that you want this to apply to and then check in org-lists-to-paragraphs whether the file you are exporting is in the list: if not, don't do anything. Here's a quick and rather dirty implementation - a minor variation on the above: