[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote bbcbd66a26 08/22: Do not produce an error in den
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote bbcbd66a26 08/22: Do not produce an error in denote-retrieve-filename-signature |
Date: |
Mon, 20 Mar 2023 05:57:48 -0400 (EDT) |
branch: externals/denote
commit bbcbd66a2604a2d2a1d1f2dd7e8bd4ed8b2d03e8
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Do not produce an error in denote-retrieve-filename-signature
---
denote.el | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/denote.el b/denote.el
index b68045cd76..348cd87877 100644
--- a/denote.el
+++ b/denote.el
@@ -1238,11 +1238,9 @@ the function
`denote-retrieve-or-create-file-identifier'."
(defun denote-retrieve-filename-signature (file)
"Extract signature from FILE name."
- (if (denote-file-has-signature-p file)
- (progn
- (string-match denote-signature-regexp file)
- (match-string 1 file))
- (error "Cannot find `%s' as a file with a Denote signature" file)))
+ (when (denote-file-has-signature-p file)
+ (string-match denote-signature-regexp file)
+ (match-string 1 file)))
(define-obsolete-function-alias
'denote--retrieve-filename-identifier
- [elpa] externals/denote updated (94a3ffd442 -> 62c6853480), ELPA Syncer, 2023/03/20
- [elpa] externals/denote 5dba1a94da 04/22: Document permutations of 'denote-prompts' file naming, ELPA Syncer, 2023/03/20
- [elpa] externals/denote eb2edfdb04 09/22: Reposition alias inside the file, ELPA Syncer, 2023/03/20
- [elpa] externals/denote 7d3da024cc 03/22: Document for 'denote-prompts' signature value does, ELPA Syncer, 2023/03/20
- [elpa] externals/denote 4acd394fba 13/22: Mention ~denote-signature~ as part of development-version, ELPA Syncer, 2023/03/20
- [elpa] externals/denote d102506de4 01/22: Add initial support for file name SIGNATURE component, ELPA Syncer, 2023/03/20
- [elpa] externals/denote 0aff328769 05/22: Mention 'denote-signature' command in 'denote-prompts', ELPA Syncer, 2023/03/20
- [elpa] externals/denote 94cae5173e 07/22: Notify users that 'denote-prompts' changed in development version, ELPA Syncer, 2023/03/20
- [elpa] externals/denote bbcbd66a26 08/22: Do not produce an error in denote-retrieve-filename-signature,
ELPA Syncer <=
- [elpa] externals/denote d02915aaf2 19/22: Clarify 'denote-retrieve-filename-signature' doc string, ELPA Syncer, 2023/03/20
- [elpa] externals/denote c77b0f9ad3 18/22: Include 'denote-signature' command in sample configuration, ELPA Syncer, 2023/03/20
- [elpa] externals/denote bb8af7362c 14/22: Document 'denote-prompts' signature in the manual, ELPA Syncer, 2023/03/20
- [elpa] externals/denote 833fa1a210 02/22: Make denote--path use signature only if present, ELPA Syncer, 2023/03/20
- [elpa] externals/denote d73b0429c7 06/22: Add signature to 'denote-prompts' :type, ELPA Syncer, 2023/03/20
- [elpa] externals/denote 84425fc328 11/22: Notify users that 'denote-faces-signature' was added in development version, ELPA Syncer, 2023/03/20
- [elpa] externals/denote 6cd886cc52 10/22: Relocate denote-retrieve-filename-signature, ELPA Syncer, 2023/03/20
- [elpa] externals/denote 0ea65a07c6 12/22: Refine denote-faces--file-name-regexp for fontification, ELPA Syncer, 2023/03/20
- [elpa] externals/denote 33a59e0c8b 15/22: Document 'denote-signature' helper command, ELPA Syncer, 2023/03/20
- [elpa] externals/denote f6aa81a961 16/22: Update file-naming scheme docs to cover optional signatures, ELPA Syncer, 2023/03/20