diff options
author | Juri Linkov <juri@jurta.org> | 2014-08-10 02:55:39 +0300 |
---|---|---|
committer | Juri Linkov <juri@jurta.org> | 2014-08-10 02:55:39 +0300 |
commit | aa4008091c9adcc23924983f45eb442f55217056 (patch) | |
tree | 6399538080d0db6411c7707e18fc65441dedfd90 /lisp/vc/vc-annotate.el | |
parent | ea2eccbb490f968d87fac056dcadc8536ea5067b (diff) | |
download | emacs-aa4008091c9adcc23924983f45eb442f55217056.tar.gz emacs-aa4008091c9adcc23924983f45eb442f55217056.tar.bz2 emacs-aa4008091c9adcc23924983f45eb442f55217056.zip |
* lisp/vc/vc-annotate.el (vc-annotate-background-mode): Add :set
to reevaluate `vc-annotate-color-map'.
Fixes: debbugs:18189
Diffstat (limited to 'lisp/vc/vc-annotate.el')
-rw-r--r-- | lisp/vc/vc-annotate.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/vc/vc-annotate.el b/lisp/vc/vc-annotate.el index d3e10a63f56..a9085bc901f 100644 --- a/lisp/vc/vc-annotate.el +++ b/lisp/vc/vc-annotate.el @@ -54,6 +54,12 @@ When nil, the color range from `vc-annotate-color-map' is applied to the foreground, and the color from the option `vc-annotate-background' is applied to the background." :type 'boolean + :set (lambda (symbol value) + (set-default symbol value) + (when (boundp 'vc-annotate-color-map) + (ignore-errors + ;; Update the value of the dependent variable. + (custom-reevaluate-setting 'vc-annotate-color-map)))) :version "24.5" :group 'vc) |