From 555ae98eb8b8795d03ff4efa479376bbaa5cb9f3 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Mon, 7 Dec 2020 14:49:43 +0800 Subject: [PATCH] Use spaces for indentation --- helm-org-ql.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/helm-org-ql.el b/helm-org-ql.el index b634d30..980f68f 100644 --- a/helm-org-ql.el +++ b/helm-org-ql.el @@ -179,12 +179,12 @@ Is transformed into this query: ;; Expansion of `helm-build-sync-source' macro. (helm-make-source name 'helm-source-sync :filtered-candidate-transformer (lambda (candidates _) - (let ((window-width (window-width (helm-window)))) - (mapcar (lambda (marker) - (unless (markerp marker) (user-error "Unexpected candidate for `helm-org-ql-source'")) - (org-with-point-at marker + (let ((window-width (window-width (helm-window)))) + (mapcar (lambda (marker) + (unless (markerp marker) (user-error "Unexpected candidate for `helm-org-ql-source'")) + (org-with-point-at marker (helm-org-ql--heading window-width))) - candidates))) + candidates))) :candidates (lambda () (let* ((query (org-ql--query-string-to-sexp helm-pattern))) (when query