Skip to content

Commit

Permalink
Fix: (org-ql-completing-read) Bind org-outline-path-cache nil
Browse files Browse the repository at this point in the history
  • Loading branch information
alphapapa committed Mar 12, 2023
1 parent ce66f67 commit e08de2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion org-ql-completing-read.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e08de2a

Please sign in to comment.