[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote edac33337c 01/12: Avoid keeping opened buffers i
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote edac33337c 01/12: Avoid keeping opened buffers in `denote-link-return-links` |
Date: |
Thu, 15 Feb 2024 00:58:12 -0500 (EST) |
branch: externals/denote
commit edac33337cd12e8b42667ad01d231955764ec020
Author: Matteo Cavada <cvd00@insicuri.net>
Commit: Matteo Cavada <cvd00@insicuri.net>
Avoid keeping opened buffers in `denote-link-return-links`
---
denote.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/denote.el b/denote.el
index 3ab4a57896..49c67693d0 100644
--- a/denote.el
+++ b/denote.el
@@ -3506,7 +3506,8 @@ Also see `denote-link-return-backlinks'."
((denote-file-has-supported-extension-p current-file))
(file-type (denote-filetype-heuristics current-file))
(regexp (denote--link-in-context-regexp file-type)))
- (with-current-buffer (find-file-noselect current-file)
+ (with-temp-buffer
+ (insert-file-contents current-file)
(denote-link--expand-identifiers regexp))))
(defalias 'denote-link-return-forelinks 'denote-link-return-links
- [elpa] externals/denote updated (127c9a38a8 -> b82da20d5d), ELPA Syncer, 2024/02/15
- [elpa] externals/denote edac33337c 01/12: Avoid keeping opened buffers in `denote-link-return-links`,
ELPA Syncer <=
- [elpa] externals/denote 13a64f7709 02/12: Merge branch 'protesilaos:main' into main, ELPA Syncer, 2024/02/15
- [elpa] externals/denote 2f122d374f 03/12: Merge pull request #252 from mattyonweb/main, ELPA Syncer, 2024/02/15
- [elpa] externals/denote f978dd746d 04/12: Acknowledge mattyonweb for commit edac333, ELPA Syncer, 2024/02/15
- [elpa] externals/denote 969367db4b 06/12: Update the documentation of the user option denote-rename-no-confirm, ELPA Syncer, 2024/02/15
- [elpa] externals/denote 1646c43bc3 05/12: Make denote-keywords-{add, remove} honour denote-rename-no-confirm, ELPA Syncer, 2024/02/15
- [elpa] externals/denote 6035d777cd 07/12: Update the documentation of denote-after-new-note-hook, ELPA Syncer, 2024/02/15
- [elpa] externals/denote 489e59e61c 08/12: Move denote-keywords-{add, remove} where the renaming commands are, ELPA Syncer, 2024/02/15
- [elpa] externals/denote 5a53344bbd 09/12: Make denote-save-buffer-after-creation a user option and document it, ELPA Syncer, 2024/02/15
- [elpa] externals/denote 79e5ec02d3 11/12: Update the documentation of denote-keywords-{add,remove}; group as "rename", ELPA Syncer, 2024/02/15
- [elpa] externals/denote b82da20d5d 12/12: Clarify that all convenience commands append to the denote-prompts, ELPA Syncer, 2024/02/15