On 27/06/2022 19:11, Uwe Brauer wrote:
[it isn't an answer for you because you want it in the menu. others
will field that. and it's similar to your code.]
Right, I hope somebody does, because it looks rather complicated when
I look for it in ox.el
Isn't the following entry of the export menu is what you are asking for?
I am unsure however if "headless" in your request is the same as
"body-only" in the Org code.
[C-b] Body only: Off [C-v] Visible only: Off
^^^^^^^^^^^^^^^^^^^^^^^
[C-s] Export scope: Buffer [C-f] Force publishing: Off
[C-a] Async export: Off