emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/denote 9d13ef9082 09/17: Allow identifiers with other f


From: ELPA Syncer
Subject: [elpa] externals/denote 9d13ef9082 09/17: Allow identifiers with other formats in denote-format-file-name
Date: Sun, 10 Nov 2024 00:57:52 -0500 (EST)

branch: externals/denote
commit 9d13ef9082d5d6301cdb7d4658c5bcc38ff1e6e2
Author: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Commit: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>

    Allow identifiers with other formats in denote-format-file-name
---
 denote.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/denote.el b/denote.el
index 26beacbfe4..cb44058a16 100644
--- a/denote.el
+++ b/denote.el
@@ -2084,9 +2084,7 @@ which case it is not added to the base file name."
    ((string-empty-p dir-path)
     (error "DIR-PATH must not be an empty string"))
    ((not (string-suffix-p "/" dir-path))
-    (error "DIR-PATH does not end with a / as directories ought to"))
-   ((not (string-match-p denote-id-regexp id))
-    (error "ID `%s' does not match `denote-id-regexp'" id)))
+    (error "DIR-PATH does not end with a / as directories ought to")))
   (let ((file-name "")
         (components (seq-union denote-file-name-components-order
                                '(identifier signature title keywords))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]