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

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

[elpa] externals/denote 226fa78f4e: Change a couple 'user-error' symbols


From: ELPA Syncer
Subject: [elpa] externals/denote 226fa78f4e: Change a couple 'user-error' symbols to 'message'
Date: Sat, 1 Oct 2022 15:57:34 -0400 (EDT)

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



reply via email to

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