1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-15 17:00:26 +00:00

* lisp/vc/vc-annotate.el (vc-annotate-background-mode): Add :set

to reevaluate `vc-annotate-color-map'.

Fixes: debbugs:18189
This commit is contained in:
Juri Linkov 2014-08-10 02:55:39 +03:00
parent ea2eccbb49
commit aa4008091c
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2014-08-09 Juri Linkov <juri@jurta.org>
* vc/vc-annotate.el (vc-annotate-background-mode): Add :set
to reevaluate `vc-annotate-color-map'. (Bug#18189)
2014-08-09 Alan Mackenzie <acm@muc.de>
* progmodes/cc-fonts.el (c-font-lock-declarators): Remove check

View File

@ -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)