Subject: Re: bug#18189: customized value of 'vc-annotate-background-mode' is applied only after restarting Emacs

From: Stefan Monnier <[email-masked]>
Date: Fri, 08 Aug 2014 21:49:15 -0400

> `vc-annotate-background-mode' is defined before `vc-annotate-color-map'
> in the source file vc-annotate.el, so there is a cyclic dependency
> in these variables.  When I tried to provide it directly in the `defcustom'

>   :set (lambda (symbol value)
> 	 (set-default symbol value)
> 	 (ignore-errors
> 	   (custom-reevaluate-setting 'vc-annotate-color-map)))

Maybe we should check (boundp 'vc-annotate-color-map) before calling
custom-reevaluate-setting.

        Stefan