branch: externals/denote commit 226fa78f4eeec45c1a14fdf4c8f078f2b9a0b51c Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Change a couple 'user-error' symbols to 'message' Those are not real errors. Just no results from an otherwise valid search. This is done in consultation with Elias Storms,[1] who contributed the 'denote-link-add-missing-links' command (see commits faa7a66, 6bf916b). [1] <https://github.com/protesilaos/denote/commit/2c7184352fd9bebc15732977e857a2d2f0f98257> --- denote.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/denote.el b/denote.el index 02c912fb0c..0bdddcedf2 100644 --- a/denote.el +++ b/denote.el @@ -2514,7 +2514,7 @@ inserts links with just the identifier." (progn (insert (denote-link--prepare-links files current-file id-only)) (denote-link-buttonize-buffer beg (point))) - (user-error "No links matching `%s'" regexp)))) + (message "No links matching `%s'" regexp)))) (defalias 'denote-link-insert-links-matching-regexp (symbol-function 'denote-link-add-links)) @@ -2540,7 +2540,7 @@ inserts links with just the identifier." (progn (insert (denote-link--prepare-links final-files current-file id-only)) (denote-link-buttonize-buffer beg (point))) - (user-error "No links matching `%s' that aren't yet present in the current buffer" regexp)))) + (message "No links matching `%s' that aren't yet present in the current buffer" regexp)))) ;;;;; Links from Dired marks