org-get-todo-face uses org-done-keywords, which is a buffer-local variable, so it may be nil in the context that org-ql-view--add-todo-face is called. See, e.g. org-agenda-highlight-todo, which does the same thing. Thanks to Yiming Chen (@dsdshcym).
36 KiB
36 KiB