branch: externals/denote-org
commit dd4ba8a78dd6a8303e1e882fe953bb21bcc83167
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Use new denote-get-completion-table per denote.git commit 4fe3cf1
---
 denote-org.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/denote-org.el b/denote-org.el
index 56300ef66e..1a9b5f124c 100644
--- a/denote-org.el
+++ b/denote-org.el
@@ -80,7 +80,10 @@ the current file."
     (completing-read
      (format "Select heading inside `%s': "
              (propertize (file-name-nondirectory current-file) 'face 
'denote-faces-prompt-current-name))
-     (denote--completion-table-no-sort 'imenu (denote-org--get-outline 
current-file))
+     (denote-get-completion-table
+      (denote-org--get-outline current-file)
+      '(category . imenu)
+      '(display-sort-function . identity))
      nil :require-match)))
 
 (defun denote-org--get-heading-and-id-from-line (line file)

Reply via email to