Eric Schulte <schulte.e...@gmail.com> writes: > Unless I'm mistaken, I think this is exactly what my previous patch does > (reproduced here for ease of reference).
Yes, this is it. I also reproduce Nicolas snippet elsewhere in the thread, which might be useful for other: (defun my-comment-removal (backend) (delete-matching-lines "^[ \t]*#\\( \\|$\\)")) (add-hook 'org-export-before-parsing-hook 'my-comment-removal) I won't discuss this further, because I feel like the discussion was over before it even started. -- Bastien