eschulte / epresent

Presentations in Emacs -- based on Org-mode
183 stars 50 forks source link

Check that org-todo-line-regexp is set when using #75

Open sellout opened 1 year ago

sellout commented 1 year ago

This variable gets set buffer-locally by Org, but it defaults to nil and may be nil in some cases when epresent-fontify is called. So this ensures it’s set before using it as a regexp (otherwise re-search-forward will error.

Fixes #72.