Tidy: Move binding
This commit is contained in:
parent
d28d54c588
commit
84b458d6fe
1 changed files with 1 additions and 1 deletions
|
|
@ -216,10 +216,10 @@ WINDOW-WIDTH should be the width of the Helm window."
|
||||||
;; call a setup function in a buffer before running queries.
|
;; call a setup function in a buffer before running queries.
|
||||||
(let* ((prefix (concat (buffer-name) ":"))
|
(let* ((prefix (concat (buffer-name) ":"))
|
||||||
(width (- window-width (length prefix)))
|
(width (- window-width (length prefix)))
|
||||||
|
(heading (org-get-heading t))
|
||||||
(path (-> (org-get-outline-path)
|
(path (-> (org-get-outline-path)
|
||||||
(org-format-outline-path width nil "")
|
(org-format-outline-path width nil "")
|
||||||
(org-split-string "")))
|
(org-split-string "")))
|
||||||
(heading (org-get-heading t))
|
|
||||||
(path (if helm-org-ql-reverse-paths
|
(path (if helm-org-ql-reverse-paths
|
||||||
(concat heading "\\" (s-join "\\" (nreverse path)))
|
(concat heading "\\" (s-join "\\" (nreverse path)))
|
||||||
(concat (s-join "/" path) "/" heading))))
|
(concat (s-join "/" path) "/" heading))))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue