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

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

[elpa] externals/denote bde73341f8 2/4: Remove needless check for duplic


From: ELPA Syncer
Subject: [elpa] externals/denote bde73341f8 2/4: Remove needless check for duplicate IDs from denote-add-front-matter
Date: Wed, 19 Jul 2023 03:57:54 -0400 (EDT)

branch: externals/denote
commit bde73341f80a853128ac49ab92e417b4354c1067
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@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

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