bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18189: customized value of 'vc-annotate-background-mode' is applied


From: Stefan Monnier
Subject: bug#18189: customized value of 'vc-annotate-background-mode' is applied only after restarting Emacs
Date: Fri, 08 Aug 2014 21:49:15 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

> `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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]