Open ckeen opened 1 year ago
I read the code but I'm not sure what you're doing exactly.
The code tries to find #+TITLE: and #+AUTHOR: in the buffer, if there's at least a title set, it adjusts the header accordingly.
It will not do this if title is not set and it will set the author part to "" if it is missing.
I've modified your code since then to get extract title/author using org tools. Can you check?
This also unbreaks features like org-capture when there is no TITLE or AUTHOR set in the document.