From e024465e2d69a05360b6e47be0f9c9d4b5a7deaa Mon Sep 17 00:00:00 2001
From: Juri Linkov <juri@jurta.org>
Date: Tue, 12 Aug 2014 09:51:21 +0300
Subject: * lisp/vc/vc-annotate.el (vc-annotate-background-mode): Use
 `with-demoted-errors' instead of `ignore-errors'.

Fixes: debbugs:18189
---
 lisp/vc/vc-annotate.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'lisp/vc/vc-annotate.el')

diff --git a/lisp/vc/vc-annotate.el b/lisp/vc/vc-annotate.el
index a9085bc901f..d0887fe3531 100644
--- a/lisp/vc/vc-annotate.el
+++ b/lisp/vc/vc-annotate.el
@@ -57,7 +57,7 @@ is applied to the background."
   :set (lambda (symbol value)
 	 (set-default symbol value)
 	 (when (boundp 'vc-annotate-color-map)
-	   (ignore-errors
+	   (with-demoted-errors
 	     ;; Update the value of the dependent variable.
 	     (custom-reevaluate-setting 'vc-annotate-color-map))))
   :version "24.5"
-- 
cgit v1.2.3