[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master b4c220a 159/271: Always remove hooks.
From: |
Jackson Ray Hamilton |
Subject: |
[elpa] master b4c220a 159/271: Always remove hooks. |
Date: |
Thu, 05 Feb 2015 18:30:47 +0000 |
branch: master
commit b4c220a5cae6c9d7d9be855b5c6ff2b87b53d692
Author: Jackson Ray Hamilton <address@hidden>
Commit: Jackson Ray Hamilton <address@hidden>
Always remove hooks.
---
context-coloring.el | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/context-coloring.el b/context-coloring.el
index 5da99b6..97c391a 100644
--- a/context-coloring.el
+++ b/context-coloring.el
@@ -445,11 +445,8 @@ colorizing would be redundant."
(context-coloring-kill-scopifier)
(when (not (null 'context-coloring-colorize-idle-timer))
(cancel-timer context-coloring-colorize-idle-timer))
- (cond
- ((equal major-mode 'js2-mode)
- (remove-hook 'js2-post-parse-callbacks
'context-coloring-change-function t))
- (t
- (remove-hook 'after-change-functions
'context-coloring-change-function t)))
+ (remove-hook 'js2-post-parse-callbacks
'context-coloring-change-function t)
+ (remove-hook 'after-change-functions 'context-coloring-change-function
t)
(font-lock-mode)
(jit-lock-mode t))
- [elpa] master 4f57f0c 163/271: Improve global test., (continued)
- [elpa] master 4f57f0c 163/271: Improve global test., Jackson Ray Hamilton, 2015/02/05
- [elpa] master dc8e99c 130/271: Function name., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 2bb4d12 124/271: More cleanup., Jackson Ray Hamilton, 2015/02/05
- [elpa] master d301048 154/271: Update compilation again., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 1d9cf42 164/271: Refactor tests., Jackson Ray Hamilton, 2015/02/05
- [elpa] master a0ccc5c 162/271: Improve and pass catch test., Jackson Ray Hamilton, 2015/02/05
- [elpa] master c8fa33f 170/271: Improve async benchmarking., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 7954efc 110/271: Rename instances of depth to level., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 338716d 161/271: Refactor., Jackson Ray Hamilton, 2015/02/05
- [elpa] master fc81cf9 157/271: Don't use timers for js2-mode., Jackson Ray Hamilton, 2015/02/05
- [elpa] master b4c220a 159/271: Always remove hooks.,
Jackson Ray Hamilton <=
- [elpa] master e040ca0 181/271: Just use stable emacs., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 9e7ee77 155/271: Add catch test. Don't uncolorize., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 665a54a 167/271: Add more js-mode tests., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 43f2e3b 168/271: Increase reliability of async tests., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 28183e4 188/271: Readme., Jackson Ray Hamilton, 2015/02/05
- [elpa] master bdfdbe4 151/271: Improve benchmarks., Jackson Ray Hamilton, 2015/02/05
- [elpa] master d27f2fe 182/271: Fix callback removal., Jackson Ray Hamilton, 2015/02/05
- [elpa] master cb0644a 136/271: Cleanup JavaScript tests., Jackson Ray Hamilton, 2015/02/05
- [elpa] master c1e9226 171/271: Reorganize lib., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 9e14226 135/271: Merge branch 'feature/language-generalization' into develop, Jackson Ray Hamilton, 2015/02/05