emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r117678: * lisp/vc/vc-annotate.el (vc-annotate-backg


From: Juri Linkov
Subject: [Emacs-diffs] trunk r117678: * lisp/vc/vc-annotate.el (vc-annotate-background-mode): Add :set
Date: Sat, 09 Aug 2014 23:55:48 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117678
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/18189
committer: Juri Linkov <address@hidden>
branch nick: trunk
timestamp: Sun 2014-08-10 02:55:39 +0300
message:
  * lisp/vc/vc-annotate.el (vc-annotate-background-mode): Add :set
  to reevaluate `vc-annotate-color-map'.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/vc/vc-annotate.el         
vcannotate.el-20091113204419-o5vbwnq5f7feedwu-8692
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-08-09 20:54:04 +0000
+++ b/lisp/ChangeLog    2014-08-09 23:55:39 +0000
@@ -1,3 +1,8 @@
+2014-08-09  Juri Linkov  <address@hidden>
+
+       * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
+       to reevaluate `vc-annotate-color-map'.  (Bug#18189)
+
 2014-08-09  Alan Mackenzie  <address@hidden>
 
        * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check

=== modified file 'lisp/vc/vc-annotate.el'
--- a/lisp/vc/vc-annotate.el    2014-07-08 08:49:18 +0000
+++ b/lisp/vc/vc-annotate.el    2014-08-09 23:55:39 +0000
@@ -54,6 +54,12 @@
 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)
 


reply via email to

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