GNU bug report logs - #18189
customized value of 'vc-annotate-background-mode' is applied only after restarting Emacs

Previous Next

Package: emacs;

Reported by: Paul Pogonyshev <pogonyshev <at> gmail.com>

Date: Mon, 4 Aug 2014 13:19:02 UTC

Severity: minor

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 18189 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Juri Linkov <juri <at> jurta.org>
Cc: Paul Pogonyshev <pogonyshev <at> gmail.com>, 18189 <at> debbugs.gnu.org
Subject: Re: bug#18189: customized value of 'vc-annotate-background-mode' is
 applied only after restarting Emacs
Date: Wed, 06 Aug 2014 13:32:59 -0400
> +(put 'vc-annotate-background-mode 'custom-set
> +     (lambda (symbol value)
> +       (set-default symbol value)
> +       (ignore-errors
> +	 (custom-reevaluate-setting 'vc-annotate-color-map))))

Why not provide it directly in the `defcustom'?


        Stefan




This bug report was last modified 10 years and 348 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.