magit-org-todos.el
magit-org-todos.el copied to clipboard
Formatting in org items causes errors when loading `magit-status`
Hi,
[I believe this is a duplicate of this, but that was closed and I think this is worth fixing and is more general than described there]
Many types of formatting in org headline text causes magit-status
to spit out an error:
magit-run-section-hook: Wrong type argument: char-or-string-p, (bold (:standard-properties [291 nil 292 302 303 0 nil nil nil nil ...]) #("projection" 0 10 (:parent #0)))
So far I've checked ~foo~
, _foo_
, $foo$
, but that's just my lack of imagination. Sorry for the lack of a proper traceback, I'm not sure why toggle-debug-on-error
isn't working for my right now. For reference, I've enable magit-org-todos
like this:
(use-package magit-org-todos
:mode "\\COMMIT_EDITMSG\\'"
:commands (magit-org-todos-autoinsert)
:config
(magit-org-todos-autoinsert))