branch: externals/denote
commit 46ecf930a027638b1a33788937795e33c29f9179
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Make the revert-buffer-function of backlinks reuse all arguments it
originally got
---
denote.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/denote.el b/denote.el
index e558f46cce..e3e616eaa9 100644
--- a/denote.el
+++ b/denote.el
@@ -4383,7 +4383,7 @@ concomitant alist, such as
`denote-link-backlinks-display-buffer-action'."
(setq-local revert-buffer-function
(lambda (_ignore-auto _noconfirm)
(when-let ((buffer-file-name file))
- (denote-link--prepare-backlinks query)))))
+ (denote-link--prepare-backlinks query
files-matching-regexp buffer-name display-buffer-action)))))
(denote-link--display-buffer buffer-name display-buffer-action)))
(defun denote--backlinks-get-buffer-name (file id)