[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote add8f657bb 09/27: Merge pull request #25 from gg
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote add8f657bb 09/27: Merge pull request #25 from ggjp/subdir-support |
Date: |
Sun, 3 Jul 2022 00:57:34 -0400 (EDT) |
branch: externals/denote
commit add8f657bb69f75c60945a13e7d2ed03fc4fc196
Merge: 01618516ff c020d25a21
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: GitHub <noreply@github.com>
Merge pull request #25 from ggjp/subdir-support
Fix denote-link--ol-resolve-link-to-target
---
denote-link.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/denote-link.el b/denote-link.el
index 9b92a24468..83f6026c5a 100644
--- a/denote-link.el
+++ b/denote-link.el
@@ -553,11 +553,12 @@ inserts links with just the identifier."
With optional PATH-ID return a cons cell consisting of the path
and the identifier."
(let* ((search (and (string-match "::\\(.*\\)\\'" link)
- (match-string 1 link)))
- (id (if (and (stringp search) (not (string-empty-p search)))
+ (match-string 1 link)))
+ (id (if (and (stringp search) (not (string-empty-p search)))
(substring link 0 (match-beginning 0))
link))
- (path (expand-file-name (file-name-completion id
(denote-directory)))))
+ (path (cl-find-if (lambda (f) (string-prefix-p id
(file-name-nondirectory f)))
+ (denote--directory-files :absolute))))
(cond
(path-id
(cons (format "%s" path) (format "%s" id)))
- [elpa] externals/denote updated (2193501cef -> 25e86bf0bc), ELPA Syncer, 2022/07/03
- [elpa] externals/denote e5d6ad589b 13/27: Support subdirectories in denote--link-find-file-at-button, ELPA Syncer, 2022/07/03
- [elpa] externals/denote 53e6ca2299 12/27: Tweak filename fontification to work with subdirs, ELPA Syncer, 2022/07/03
- [elpa] externals/denote 58637a0035 04/27: Tweak doc string, ELPA Syncer, 2022/07/03
- [elpa] externals/denote 8c724d54cf 01/27: Support subdirectories, ELPA Syncer, 2022/07/03
- [elpa] externals/denote 12008dbcbf 11/27: Untabify a line, ELPA Syncer, 2022/07/03
- [elpa] externals/denote 01618516ff 07/27: Refine denote--file-name-relative-to-denote-directory, ELPA Syncer, 2022/07/03
- [elpa] externals/denote 070d4412ee 23/27: Set org-id-extra-files to all files in all subdirectories., ELPA Syncer, 2022/07/03
- [elpa] externals/denote add8f657bb 09/27: Merge pull request #25 from ggjp/subdir-support,
ELPA Syncer <=
- [elpa] externals/denote 5f8b585349 22/27: Merge branch 'main' into subdir-support, ELPA Syncer, 2022/07/03
- [elpa] externals/denote e1aeb459ea 19/27: Refine how faces are applied (extends 123fb2b), ELPA Syncer, 2022/07/03
- [elpa] externals/denote 123fb2b670 18/27: Put all faces in denote-faces.el, ELPA Syncer, 2022/07/03
- [elpa] externals/denote 66e455ef84 14/27: Fix denote--current-file-is-note-p for subdirectories, ELPA Syncer, 2022/07/03
- [elpa] externals/denote 6dfb9376ca 24/27: Merge pull request #28 from ggjp/subdir-support, ELPA Syncer, 2022/07/03
- [elpa] externals/denote 25e86bf0bc 27/27: Update Acknowledgements in the manual, ELPA Syncer, 2022/07/03
- [elpa] externals/denote 303f39e150 15/27: Merge pull request #26 from ggjp/subdir-support, ELPA Syncer, 2022/07/03
- [elpa] externals/denote c020d25a21 08/27: Fix denote-link--ol-resolve-link-to-target, ELPA Syncer, 2022/07/03
- [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