[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 75d4ba1f7e 16/17: Do not add an empty identifier
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 75d4ba1f7e 16/17: Do not add an empty identifier in denote--used-ids |
Date: |
Sun, 10 Nov 2024 00:57:53 -0500 (EST) |
branch: externals/denote
commit 75d4ba1f7ef9cb3b804583285298f04472edda85
Author: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Commit: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Do not add an empty identifier in denote--used-ids
---
denote.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/denote.el b/denote.el
index 05527b72ea..0f66779c0f 100644
--- a/denote.el
+++ b/denote.el
@@ -3140,7 +3140,7 @@ Respect `denote-rename-confirmations',
`denote-save-buffers' and
(denote-rewrite-front-matter new-name title keywords file-type)
(when (denote-add-front-matter-prompt new-name)
(denote--add-front-matter new-name title keywords date id
signature file-type))))
- (when denote--used-ids
+ (when (and denote--used-ids (not (string-empty-p id)))
(puthash id t denote--used-ids))
(denote--handle-save-and-kill-buffer 'rename new-name initial-state)
(run-hooks 'denote-after-rename-file-hook))
- [elpa] externals/denote updated (b788f7c3d7 -> 344e1a65bb), ELPA Syncer, 2024/11/10
- [elpa] externals/denote a5ecae13cf 04/17: Obsolete denote-parse-date, ELPA Syncer, 2024/11/10
- [elpa] externals/denote 75d4ba1f7e 16/17: Do not add an empty identifier in denote--used-ids,
ELPA Syncer <=
- [elpa] externals/denote 9d13ef9082 09/17: Allow identifiers with other formats in denote-format-file-name, ELPA Syncer, 2024/11/10
- [elpa] externals/denote b2ddfc0d3a 02/17: Rename denote--date to denote--format-front-matter-date, ELPA Syncer, 2024/11/10
- [elpa] externals/denote cf4ce27580 01/17: Do not check identifier format in retrieval functions of file name components, ELPA Syncer, 2024/11/10
- [elpa] externals/denote 7cd1461e4b 03/17: Add comment in denote-valid-date-p, ELPA Syncer, 2024/11/10
- [elpa] externals/denote 19164364a8 06/17: Obsolete denote-create-unique-file-identifier, ELPA Syncer, 2024/11/10
- [elpa] externals/denote a204554b8d 05/17: denote-get-identifier returns an empty string when date is nil, ELPA Syncer, 2024/11/10
- [elpa] externals/denote 89b0525475 07/17: Do not check nil identifier in denote-format-file-name, ELPA Syncer, 2024/11/10
- [elpa] externals/denote b0b19b9ad1 08/17: Allow empty identifier in denote-format-file-name, ELPA Syncer, 2024/11/10
- [elpa] externals/denote 4a2caa43ef 13/17: Handle id in denote--creation-prepare-note-data, ELPA Syncer, 2024/11/10
- [elpa] externals/denote 8f8026bf56 11/17: Change denote and denote-org-capture to make them ready to handle empty identifiers, ELPA Syncer, 2024/11/10