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."