Fix: (view--add-todo-face) Bind org-done-keywords

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).
This commit is contained in:
Yiming Chen 2020-01-01 15:26:51 +08:00 committed by Adam Porter
parent 317b2ec1b7
commit 6004ab98da
3 changed files with 17 additions and 13 deletions

View file

@ -394,6 +394,7 @@ Expands into a call to ~org-ql-select~ with the same arguments. For convenience
*Fixed*
+ Call =helm-make-source= directly instead of using =helm-build-sync-source= macro. (Fixes [[https://github.com/alphapapa/org-ql/issues/60][#60]]. Thanks to [[https://github.com/matthuszagh][Matt Huszagh]] for reporting.)
+ Search/view buffers now always end with a newline, which prevents side-scrolling of the window when calling =end-of-buffer=.
+ Face for done to-do keywords in =org-ql-view= buffers. (Thanks to [[https://github.com/dsdshcym][Yiming Chen]].)
*Internal*
+ Added generic node data cache to speed up recursive, tree-based queries.