mirror of
https://github.com/protesilaos/denote.git
synced 2026-09-10 07:16:20 -04:00
Fix denote--id-exists-p
This commit is contained in:
parent
065a10fc60
commit
92310d2c37
|
|
@ -879,7 +879,7 @@ where the former does not read dates without a time component."
|
|||
"Return non-nil if IDENTIFIER already exists."
|
||||
(seq-some (lambda (file)
|
||||
(string-prefix-p identifier (file-name-nondirectory file)))
|
||||
(concat (denote--directory-files)
|
||||
(append (denote--directory-files)
|
||||
(denote--buffer-file-names))))
|
||||
|
||||
(defun denote--barf-duplicate-id (identifier)
|
||||
|
|
|
|||
Loading…
Reference in a new issue