diff options
| author | Juri Linkov | 2014-08-12 09:51:21 +0300 |
|---|---|---|
| committer | Juri Linkov | 2014-08-12 09:51:21 +0300 |
| commit | e024465e2d69a05360b6e47be0f9c9d4b5a7deaa (patch) | |
| tree | 84c397aa3992abbc1865b767a4a6a48bafa6e5bb | |
| parent | f95757188287d28e9247379f69c0d308f8319782 (diff) | |
| download | emacs-e024465e2d69a05360b6e47be0f9c9d4b5a7deaa.tar.gz emacs-e024465e2d69a05360b6e47be0f9c9d4b5a7deaa.zip | |
* lisp/vc/vc-annotate.el (vc-annotate-background-mode): Use `with-demoted-errors'
instead of `ignore-errors'.
Fixes: debbugs:18189
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/vc/vc-annotate.el | 2 |
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 @@ | |||
| 1 | 2014-08-12 Juri Linkov <juri@jurta.org> | ||
| 2 | |||
| 3 | * vc/vc-annotate.el (vc-annotate-background-mode): | ||
| 4 | Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189) | ||
| 5 | |||
| 1 | 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 7 | ||
| 3 | * files.el (out-of-memory-warning-percentage): Turn it off by default. | 8 | * 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." | |||
| 57 | :set (lambda (symbol value) | 57 | :set (lambda (symbol value) |
| 58 | (set-default symbol value) | 58 | (set-default symbol value) |
| 59 | (when (boundp 'vc-annotate-color-map) | 59 | (when (boundp 'vc-annotate-color-map) |
| 60 | (ignore-errors | 60 | (with-demoted-errors |
| 61 | ;; Update the value of the dependent variable. | 61 | ;; Update the value of the dependent variable. |
| 62 | (custom-reevaluate-setting 'vc-annotate-color-map)))) | 62 | (custom-reevaluate-setting 'vc-annotate-color-map)))) |
| 63 | :version "24.5" | 63 | :version "24.5" |