branch: externals/denote
commit 491ad9a78872a7c81c6edb948d9131fd28d73ed3
Author: Jean-Philippe Gagné Guay <jeanphilippe...@gmail.com>
Commit: Jean-Philippe Gagné Guay <jeanphilippe...@gmail.com>

    Use denote-make-backlinks-buffer in denote-backlinks
---
 denote.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/denote.el b/denote.el
index 31df5e34a1..f020f21880 100644
--- a/denote.el
+++ b/denote.el
@@ -6020,10 +6020,10 @@ Place the buffer below the current window or wherever 
the user option
   (interactive)
   (if-let* ((file buffer-file-name))
       (if-let* ((identifier (denote-retrieve-filename-identifier file)))
-          (funcall denote-query-links-buffer-function
-                   identifier nil
-                   (denote--backlinks-get-buffer-name file identifier)
-                   denote-backlinks-display-buffer-action)
+          (denote-make-backlinks-buffer
+           identifier
+           (denote--backlinks-get-buffer-name file identifier)
+           denote-backlinks-display-buffer-action)
         (user-error "The current file does not have a Denote identifier"))
     (user-error "Buffer `%s' is not associated with a file" (current-buffer))))
 

Reply via email to