[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 46ecf930a0 2/2: Make the revert-buffer-function
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 46ecf930a0 2/2: Make the revert-buffer-function of backlinks reuse all arguments it originally got |
Date: |
Wed, 24 Jul 2024 06:58:10 -0400 (EDT) |
branch: externals/denote
commit 46ecf930a027638b1a33788937795e33c29f9179
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
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)