Compare commits

..

2 Commits

Author SHA1 Message Date
0ac05e43ef
Fix prompt when choosing Org headings 2025-08-17 13:47:42 +02:00
a1562a1100
Include prefix when choosing Org heading
Otherwise, the candidates seem to be truncated at the front?
2025-08-17 13:47:05 +02:00

View File

@ -1907,9 +1907,9 @@ linking to any item."
(pom (with-current-buffer default-buffer (pom (with-current-buffer default-buffer
(consult--read (consult--slow-operation "Collecting headings..." (consult--read (consult--slow-operation "Collecting headings..."
(or (consult-org--headings nil nil scope) (or (consult-org--headings t nil scope)
(user-error "No headings"))) (user-error "No headings")))
:prompt "Go to heading: " :prompt "Choose heading: "
:category 'org-heading :category 'org-heading
:sort nil :sort nil
:initial initial-input :initial initial-input