emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] master df12c79 2/4: Fix regression where multiple timers would co


From: Jackson Ray Hamilton
Subject: [elpa] master df12c79 2/4: Fix regression where multiple timers would collide.
Date: Sun, 14 Jun 2015 02:29:43 +0000

branch: master
commit df12c795f168976efbc7178062759c66a735627f
Author: Jackson Ray Hamilton <address@hidden>
Commit: Jackson Ray Hamilton <address@hidden>

    Fix regression where multiple timers would collide.
---
 context-coloring.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/context-coloring.el b/context-coloring.el
index 47ecf70..f048bb4 100644
--- a/context-coloring.el
+++ b/context-coloring.el
@@ -150,7 +150,8 @@ START, END and LENGTH are recorded for later use."
 
 (defun context-coloring-maybe-colorize-with-buffer (buffer)
   "Color BUFFER and if it has changed."
-  (when context-coloring-changed-p
+  (when (and (eq buffer (current-buffer))
+             context-coloring-changed-p)
     (context-coloring-colorize-with-buffer buffer)
     (setq context-coloring-changed-p nil)
     (setq context-coloring-changed-start nil)



reply via email to

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