[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote ce791f5e42 26/27: Keep filename intact for backl
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote ce791f5e42 26/27: Keep filename intact for backlink creation |
Date: |
Sun, 3 Jul 2022 00:57:36 -0400 (EDT) |
branch: externals/denote
commit ce791f5e429fdd89e36ae4af02bbb381f470bd90
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Keep filename intact for backlink creation
This is to ensure that links to/from subdirectories work as intended. A
bug pertaining to the old code was reported by Shreyas Ragavan on the
mailing list:
<https://lists.sr.ht/~protesilaos/denote/%3C8735fk4y1w.fsf%40hallac.net%3E#%3Cm2czeo9n6e.fsf@fastmail.com%3E>.
---
denote-link.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/denote-link.el b/denote-link.el
index b1c97959f2..5de8dabc60 100644
--- a/denote-link.el
+++ b/denote-link.el
@@ -468,7 +468,7 @@ option `denote-link-backlinks-display-buffer-action'. By
default, it will show up below the current window."
(interactive)
(let* ((default-directory (denote-directory))
- (file (file-name-nondirectory (buffer-file-name)))
+ (file (buffer-file-name))
(id (denote-retrieve--filename-identifier file))
(title (denote-retrieve--value-title file)))
(if-let ((files (denote-retrieve--proces-grep id)))
- [elpa] externals/denote ab2a6e538a 03/27: Use 'when' instead of 'if' for single condition, (continued)
- [elpa] externals/denote ab2a6e538a 03/27: Use 'when' instead of 'if' for single condition, ELPA Syncer, 2022/07/03
- [elpa] externals/denote 0116edc2f8 25/27: Remove sharp quote from lambda for simplicity, ELPA Syncer, 2022/07/03
- [elpa] externals/denote c68a8e224a 17/27: Tweak denote--get-note-path-by-id for style, ELPA Syncer, 2022/07/03
- [elpa] externals/denote d2f14291bf 06/27: Move let bound filter into its own function, ELPA Syncer, 2022/07/03
- [elpa] externals/denote 2aaf0f56d1 05/27: Add regexp to match only note file names, ELPA Syncer, 2022/07/03
- [elpa] externals/denote 3934b167d2 16/27: Placate the compiler for minor warnings, ELPA Syncer, 2022/07/03
- [elpa] externals/denote fa395f7aef 02/27: Update Acknowledgements for subdir support, ELPA Syncer, 2022/07/03
- [elpa] externals/denote 554859c0c8 21/27: Keep Acknowledgements up-to-date after eb7b38f, ELPA Syncer, 2022/07/03
- [elpa] externals/denote eb7b38fe16 20/27: Merge branch 'main' into subdir-support, ELPA Syncer, 2022/07/03
- [elpa] externals/denote eb3ea19637 10/27: Document subdir support as part of dev version, ELPA Syncer, 2022/07/03
- [elpa] externals/denote ce791f5e42 26/27: Keep filename intact for backlink creation,
ELPA Syncer <=