- Script, function and block scopes (and even `catch` block scopes).
- Very fast for files under 1000 lines.
- Emacs Lisp support:
- - `defun`, `lambda`, `let`, `let*`, `cond`, `condition-case`, quotes,
- backquotes (and splicing).
- - 25,000 lines per second!
+ - `defun`, `lambda`, `let`, `let*`, `cond`, `condition-case`, `defadvice`,
+ `dolist`, `quote`, `backquote` and backquote splicing.
+ - Instantaneous lazy coloring, 8000 lines-per-second full coloring.
## Installation
;; Copyright (C) 2014-2015 Free Software Foundation, Inc.
;; Author: Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
- ;; Version: 6.4.0
+ ;; Version: 6.4.1
;; Keywords: convenience faces tools
;; Package-Requires: ((emacs "24") (js2-mode "20150126"))
;; URL: https://github.com/jacksonrayhamilton/context-coloring
(defun context-coloring-maybe-colorize-with-buffer (buffer)
"Color BUFFER and if it has changed."
- (when context-coloring-changed-p
+ (when (and (eq buffer (current-buffer))
+ context-coloring-changed-p)
(context-coloring-colorize-with-buffer buffer)
(setq context-coloring-changed-p nil)
(setq context-coloring-changed-start nil)