[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master ca7122c 16/31: Remove `when'.
From: |
Jackson Ray Hamilton |
Subject: |
[elpa] master ca7122c 16/31: Remove `when'. |
Date: |
Mon, 09 Feb 2015 01:09:35 +0000 |
branch: master
commit ca7122ceecf6f06dad063b93c6957299e7bea886
Author: Jackson Ray Hamilton <address@hidden>
Commit: Jackson Ray Hamilton <address@hidden>
Remove `when'.
---
context-coloring.el | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/context-coloring.el b/context-coloring.el
index 52a494b..c58cf67 100644
--- a/context-coloring.el
+++ b/context-coloring.el
@@ -765,7 +765,7 @@ faces for custom themes that might not exist yet."
(font-lock-mode)
(jit-lock-mode t))
- ;; Remember this buffer. This value should not be dynamically-bound.
+ ;; Remember this buffer. This value should not be dynamically-bound.
(setq context-coloring-buffer (current-buffer))
;; Font lock is incompatible with this mode; the converse is also true.
@@ -780,16 +780,13 @@ faces for custom themes that might not exist yet."
;; Only recolor on reparse.
(add-hook 'js2-post-parse-callbacks 'context-coloring-colorize nil t))
(t
- ;; Only recolor on change.
- (add-hook 'after-change-functions 'context-coloring-change-function nil
t)))
-
- (when (not (equal major-mode 'js2-mode))
- ;; Only recolor idly.
+ ;; Only recolor on change, idly.
+ (add-hook 'after-change-functions 'context-coloring-change-function nil
t)
(setq context-coloring-colorize-idle-timer
(run-with-idle-timer
context-coloring-delay
t
- 'context-coloring-maybe-colorize)))))
+ 'context-coloring-maybe-colorize))))))
(provide 'context-coloring)
- [elpa] master 2b6d30e 05/31: Document context-coloring-define-theme., (continued)
- [elpa] master 2b6d30e 05/31: Document context-coloring-define-theme., Jackson Ray Hamilton, 2015/02/08
- [elpa] master ce5c6d9 07/31: Write and pass post-recede test., Jackson Ray Hamilton, 2015/02/08
- [elpa] master 4c7082f 06/31: Spaces., Jackson Ray Hamilton, 2015/02/08
- [elpa] master 2875503 04/31: Write and pass tests for context-coloring-define-theme and recede and override properties., Jackson Ray Hamilton, 2015/02/08
- [elpa] master 874982e 08/31: Update test names., Jackson Ray Hamilton, 2015/02/08
- [elpa] master 06efd73 09/31: Fix assertion so tests fail., Jackson Ray Hamilton, 2015/02/08
- [elpa] master 23a12b8 12/31: Rename test., Jackson Ray Hamilton, 2015/02/08
- [elpa] master 06a7606 10/31: Pass / update tests for warnings., Jackson Ray Hamilton, 2015/02/08
- [elpa] master 6e6bc61 15/31: Rename themep to theme-p., Jackson Ray Hamilton, 2015/02/08
- [elpa] master 0f036c9 13/31: Improve documentation for themes., Jackson Ray Hamilton, 2015/02/08
- [elpa] master ca7122c 16/31: Remove `when'.,
Jackson Ray Hamilton <=
- [elpa] master 71a1a0c 14/31: Rename ambiguous "defined" to "originally set"., Jackson Ray Hamilton, 2015/02/08
- [elpa] master c4459fe 02/31: Fix faces on light tty backgrounds. Be more conservative about applying themes., Jackson Ray Hamilton, 2015/02/08
- [elpa] master cda491a 17/31: Long lines., Jackson Ray Hamilton, 2015/02/08
- [elpa] master 807f484 03/31: Allow themes to be overridden, but warn., Jackson Ray Hamilton, 2015/02/08
- [elpa] master 2090e5d 11/31: Add missing case for a theme that does not set faces., Jackson Ray Hamilton, 2015/02/08
- [elpa] master 6eef78b 21/31: Add spacegray theme., Jackson Ray Hamilton, 2015/02/08
- [elpa] master 2b687ae 19/31: Pass test for disabling., Jackson Ray Hamilton, 2015/02/08
- [elpa] master a197a8c 20/31: Add disclaimer about precedence., Jackson Ray Hamilton, 2015/02/08
- [elpa] master 9d55bd6 18/31: Generalize assertions. Write failing test for disabling., Jackson Ray Hamilton, 2015/02/08
- [elpa] master 3bd7e26 22/31: Add anti-zenburn theme., Jackson Ray Hamilton, 2015/02/08