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

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

[nongnu] elpa/annotate 13c4fcbc4f 250/372: - made 'annotate-load-annotat


From: ELPA Syncer
Subject: [nongnu] elpa/annotate 13c4fcbc4f 250/372: - made 'annotate-load-annotation-data-ignore-errors' ignore all errors;
Date: Fri, 4 Feb 2022 16:59:04 -0500 (EST)

branch: elpa/annotate
commit 13c4fcbc4f21eaf4163e3988bd9c11c6cd62e8ec
Author: cage <cage-invalid@invalid>
Commit: cage <cage-invalid@invalid>

    - made 'annotate-load-annotation-data-ignore-errors' ignore all errors;
    
    - added docstring to 'annotate-load-annotation-data-ignore-errors'.
---
 annotate.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/annotate.el b/annotate.el
index a1db0a8732..50a55d9018 100644
--- a/annotate.el
+++ b/annotate.el
@@ -1247,10 +1247,10 @@ annotation."
     (annotate-dump-annotation-data db)))
 
 (defun annotate-load-annotation-data-ignore-errors ()
-  (condition-case error-message
-      (annotate-load-annotation-data)
-    (annotate-db-file-not-found
-     nil)))
+ "Read and return saved annotations, returns nil if an error
+occurs."
+  (ignore-errors
+    (annotate-load-annotation-data)))
 
 (defun annotate-load-annotation-data ()
   "Read and return saved annotations."



reply via email to

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