Include prefix when choosing Org heading

Otherwise, the candidates seem to be truncated at the front?
This commit is contained in:
Daniel Borchmann 2025-08-17 13:47:05 +02:00
parent 9780f1fe7f
commit 5d7776a6dd
No known key found for this signature in database
GPG Key ID: 50EA937BF472ADD1

View File

@ -1909,7 +1909,7 @@ 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 "Go to heading: "
:category 'org-heading :category 'org-heading