branch: master
commit e2ee31161c8ab01ed0e6e3f106deede8c02ef0cb
Author: Jackson Ray Hamilton <jack...@jacksonrayhamilton.com>
Commit: Jackson Ray Hamilton <jack...@jacksonrayhamilton.com>

    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