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

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

[elpa] master e2ee311 183/271: Fix timer existence check.


From: Jackson Ray Hamilton
Subject: [elpa] master e2ee311 183/271: Fix timer existence check.
Date: Thu, 05 Feb 2015 18:31:02 +0000

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

    Fix timer existence check.
---
 context-coloring.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/context-coloring.el b/context-coloring.el
index 37b423a..4178e43 100644
--- a/context-coloring.el
+++ b/context-coloring.el
@@ -435,7 +435,7 @@ colorizing would be redundant."
   (if (not context-coloring-mode)
       (progn
         (context-coloring-kill-scopifier)
-        (when (not (null 'context-coloring-colorize-idle-timer))
+        (when context-coloring-colorize-idle-timer
           (cancel-timer context-coloring-colorize-idle-timer))
         (remove-hook 'js2-post-parse-callbacks 'context-coloring-colorize t)
         (remove-hook 'after-change-functions 'context-coloring-change-function 
t)



reply via email to

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