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

@ -67,7 +67,7 @@
Based on `helm-map'.")
(defvar helm-source-org-ql-views
(helm-build-sync-source "Org QL Views"
(helm-make-source "Org QL Views" 'helm-source-sync
:candidates (lambda ()
(->> org-ql-views
(-map #'car)