branch: master
commit d27f2fe6e0ed975e3b6206fc454f27ce150a0a4c
Author: Jackson Ray Hamilton <jack...@jacksonrayhamilton.com>
Commit: Jackson Ray Hamilton <jack...@jacksonrayhamilton.com>
Fix callback removal.
---
context-coloring.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/context-coloring.el b/context-coloring.el
index 565d568..37b423a 100644
--- a/context-coloring.el
+++ b/context-coloring.el
@@ -437,7 +437,7 @@ colorizing would be redundant."
(context-coloring-kill-scopifier)
(when (not (null 'context-coloring-colorize-idle-timer))
(cancel-timer context-coloring-colorize-idle-timer))
- (remove-hook 'js2-post-parse-callbacks
'context-coloring-change-function t)
+ (remove-hook 'js2-post-parse-callbacks 'context-coloring-colorize t)
(remove-hook 'after-change-functions 'context-coloring-change-function
t)
(font-lock-mode)
(jit-lock-mode t))