summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuri Linkov <juri@jurta.org>2014-08-12 09:51:21 +0300
committerJuri Linkov <juri@jurta.org>2014-08-12 09:51:21 +0300
commite024465e2d69a05360b6e47be0f9c9d4b5a7deaa (patch)
tree84c397aa3992abbc1865b767a4a6a48bafa6e5bb
parentf95757188287d28e9247379f69c0d308f8319782 (diff)
downloademacs-e024465e2d69a05360b6e47be0f9c9d4b5a7deaa.tar.gz
* lisp/vc/vc-annotate.el (vc-annotate-background-mode): Use `with-demoted-errors'
instead of `ignore-errors'. Fixes: debbugs:18189
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/vc/vc-annotate.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 428ea4fffde..f91f3a0351e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2014-08-12 Juri Linkov <juri@jurta.org>
+
+ * vc/vc-annotate.el (vc-annotate-background-mode):
+ Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
+
2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
* files.el (out-of-memory-warning-percentage): Turn it off by default.
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"