Fix: (org-ql-completing-read) Bind org-outline-path-cache nil

This commit is contained in:
Adam Porter 2023-03-12 05:59:22 -05:00
parent ce66f67c96
commit e08de2a76c

View file

@ -103,7 +103,8 @@ single predicate)."
query-tokens snippet-regexp)
(cl-labels ((action
() (font-lock-ensure (point-at-bol) (point-at-eol))
(let* ((path (thread-first (org-get-outline-path t t)
(let* ((org-outline-path-cache) ; See `org-get-outline-path' docstring.
(path (thread-first (org-get-outline-path t t)
(org-format-outline-path window-width nil "")
(org-split-string "")))
(path (if org-ql-completing-read-reverse-paths