From: Jackson Ray Hamilton Date: Sun, 14 Jun 2015 02:27:55 +0000 (-0700) Subject: Merge commit '5825163e2a8520bbb2751f9692f51a1b73cb81ad' from context-coloring X-Git-Url: https://code.delx.au/gnu-emacs-elpa/commitdiff_plain/c474af4630126d1a42a64aac1be0238a00970d13?hp=e2f402c339544ecd2fca0b28d70ecd6bf8106bce Merge commit '5825163e2a8520bbb2751f9692f51a1b73cb81ad' from context-coloring --- diff --git a/packages/context-coloring/README.md b/packages/context-coloring/README.md index 03bf677a3..40506e76a 100644 --- a/packages/context-coloring/README.md +++ b/packages/context-coloring/README.md @@ -18,9 +18,9 @@ By default, comments and strings are still highlighted syntactically. - 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 diff --git a/packages/context-coloring/context-coloring.el b/packages/context-coloring/context-coloring.el index 47ecf70c3..c4423f027 100644 --- a/packages/context-coloring/context-coloring.el +++ b/packages/context-coloring/context-coloring.el @@ -3,7 +3,7 @@ ;; Copyright (C) 2014-2015 Free Software Foundation, Inc. ;; Author: Jackson Ray Hamilton -;; 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 @@ -150,7 +150,8 @@ START, END and LENGTH are recorded for later use." (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)