Hi Nick, >> Hi all, >> >> what is the best way to export the whole current tree (starting from the >> top-level headline)?
[...] > > Write a function and bind it to a key - something like this perhaps: > > (defun ah-export-current-top-level-tree () > (interactive) > (save-excursion > (outline-up-heading (org-current-level)) > (let ((org-export-initial-scope 'subtree)) > (org-export)))) > > Nick Thank a lot. Works great! Cheers, Andreas