Fix: (helm-source-org-ql-views) Call helm-make-source directly

Avoids macro expansion issues if Helm is not yet loaded.

Fixes #60.  Thanks to @matthuszagh for reporting.
This commit is contained in:
Adam Porter 2019-11-29 21:08:22 -06:00
parent d3a73732ac
commit d7fe019d6a
3 changed files with 23 additions and 13 deletions

View file

@ -388,6 +388,9 @@ Expands into a call to ~org-ql-select~ with the same arguments. For convenience
+ Alias =h= for =heading= predicate.
+ Search/view buffers now always end with a newline, which prevents side-scrolling of the window when calling =end-of-buffer=.
*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 Matt Huszagh ([[https://github.com/matthuszagh][@matthuszagh]]) for reporting.)
*Internal*
+ Added generic node data cache to speed up recursive, tree-based queries.