branch: externals/denote
commit bde73341f80a853128ac49ab92e417b4354c1067
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Remove needless check for duplicate IDs from denote-add-front-matter
    
    That command is not meant to consider other files, but only to add
    missing front matter to an existing file.
---
 denote.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote.el b/denote.el
index 440243a21f..5b129e8b97 100644
--- a/denote.el
+++ b/denote.el
@@ -2580,7 +2580,7 @@ relevant front matter."
   (when (denote-file-is-writable-and-supported-p file)
     (denote--add-front-matter
      file title keywords
-     (denote-retrieve-or-create-file-identifier file nil :unique)
+     (denote-retrieve-or-create-file-identifier file nil)
      (denote-filetype-heuristics file))))
 
 ;;;; The Denote faces

Reply via email to