[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 970b06c360 04/11: Make 'denote-link-or-create' n
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 970b06c360 04/11: Make 'denote-link-or-create' not fail if there are no files (also see 8b6c019) |
Date: |
Thu, 29 Feb 2024 03:57:58 -0500 (EST) |
branch: externals/denote
commit 970b06c360fcc7d251353827b16523aae56c446f
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Make 'denote-link-or-create' not fail if there are no files (also see
8b6c019)
---
denote.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/denote.el b/denote.el
index 794bbf3f6d..0d482891ee 100644
--- a/denote.el
+++ b/denote.el
@@ -3724,7 +3724,7 @@ consists of just the identifier. Else try to also
include the
file's title. This has the same meaning as in `denote-link'."
(interactive
(let* ((target (denote-file-prompt)))
- (unless (file-exists-p target)
+ (unless (and target (file-exists-p target))
(setq target (denote--command-with-features #'denote
:use-file-prompt-as-def-title :ignore-region :save :in-background)))
(list target current-prefix-arg)))
(unless (and (buffer-file-name) (denote-file-has-supported-extension-p
(buffer-file-name)))
- [elpa] externals/denote updated (d6da5ba074 -> 8e30eb435c), ELPA Syncer, 2024/02/29
- [elpa] externals/denote 6a486173a5 02/11: Reinstate relative file paths in 'denote-file-prompt', ELPA Syncer, 2024/02/29
- [elpa] externals/denote d05e6b8da0 07/11: Tweak default prompt text of 'denote-keywords-prompt', ELPA Syncer, 2024/02/29
- [elpa] externals/denote 970b06c360 04/11: Make 'denote-link-or-create' not fail if there are no files (also see 8b6c019),
ELPA Syncer <=
- [elpa] externals/denote ac0c361385 01/11: Remove the denote "modules" integration, ELPA Syncer, 2024/02/29
- [elpa] externals/denote c50167d03b 08/11: Make denote-keywords-add prompt more specific, ELPA Syncer, 2024/02/29
- [elpa] externals/denote a0796ef2d3 10/11: Simplify denote-file-prompt and make it always add absolute paths to its history, ELPA Syncer, 2024/02/29
- [elpa] externals/denote bb4fda2f1f 09/11: Use more specific prompts in 'denote-add-front-matter', ELPA Syncer, 2024/02/29
- [elpa] externals/denote 8e30eb435c 11/11: Revise comment about denote-file-prompt, ELPA Syncer, 2024/02/29
- [elpa] externals/denote f8a63fbc52 06/11: Tweak default prompt text of 'denote-signature-prompt', ELPA Syncer, 2024/02/29
- [elpa] externals/denote 8b6c01915b 03/11: Make 'denote-file-prompt' not choke on an empty 'denote-directory-files' return value, ELPA Syncer, 2024/02/29
- [elpa] externals/denote 3c1662db48 05/11: Tweak default prompt text of 'denote-title-prompt', ELPA Syncer, 2024/02/29