Make denote-link--map-over-notes less strict about what it matches

This is in response to issue 503, where Oliver Epper encountered an
error while trying to link files which are not plain text:
<https://github.com/protesilaos/denote/issues/503>.
This commit is contained in:
Protesilaos Stavrou 2024-12-26 16:44:34 +02:00
parent 8e8b43b3cc
commit 9b2cf81054
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA

View file

@ -5163,8 +5163,8 @@ inserts links with just the identifier."
nil t))))
(defun denote-link--map-over-notes ()
"Return list of `denote-file-is-note-p' from Dired marked items."
(seq-filter #'denote-file-is-note-p (dired-get-marked-files)))
"Return list of `denote-file-has-denoted-filename-p' from Dired marked items."
(seq-filter #'denote-file-has-denoted-filename-p (dired-get-marked-files)))
;;;###autoload
(defun denote-link-dired-marked-notes (files buffer &optional id-only)