From 84b458d6fef24aff713c8624156a63cf93bd5fd4 Mon Sep 17 00:00:00 2001 From: Adam Porter Date: Fri, 3 Jan 2020 05:43:19 -0600 Subject: [PATCH] Tidy: Move binding --- helm-org-ql.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-org-ql.el b/helm-org-ql.el index 9e231a9..2e4ffb8 100644 --- a/helm-org-ql.el +++ b/helm-org-ql.el @@ -216,10 +216,10 @@ WINDOW-WIDTH should be the width of the Helm window." ;; call a setup function in a buffer before running queries. (let* ((prefix (concat (buffer-name) ":")) (width (- window-width (length prefix))) + (heading (org-get-heading t)) (path (-> (org-get-outline-path) (org-format-outline-path width nil "") (org-split-string ""))) - (heading (org-get-heading t)) (path (if helm-org-ql-reverse-paths (concat heading "\\" (s-join "\\" (nreverse path))) (concat (s-join "/" path) "/" heading))))