From e08de2a76c2bbd6364126653fdd911b37243f572 Mon Sep 17 00:00:00 2001 From: Adam Porter Date: Sun, 12 Mar 2023 05:59:22 -0500 Subject: [PATCH] Fix: (org-ql-completing-read) Bind org-outline-path-cache nil --- org-ql-completing-read.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org-ql-completing-read.el b/org-ql-completing-read.el index b1ef11a..c661d45 100644 --- a/org-ql-completing-read.el +++ b/org-ql-completing-read.el @@ -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