changeset 109911:3ec7871b5633

* whitespace.el (whitespace-color-off): Remove post-command-hook locally.
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 08 Aug 2010 22:23:35 -0400
parents 843bffdd92eb
children c43b03a3b1c5 bb90da2057ed
files lisp/ChangeLog lisp/whitespace.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Aug 08 16:55:52 2010 -0400
+++ b/lisp/ChangeLog	Sun Aug 08 22:23:35 2010 -0400
@@ -1,3 +1,8 @@
+2010-08-09  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
+
+	* whitespace.el (whitespace-color-off): Remove post-command-hook
+	locally.
+
 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
 
 	* replace.el (replace-highlight): Bind isearch-forward and
--- a/lisp/whitespace.el	Sun Aug 08 16:55:52 2010 -0400
+++ b/lisp/whitespace.el	Sun Aug 08 22:23:35 2010 -0400
@@ -2297,7 +2297,7 @@
   ;; turn off font lock
   (when (whitespace-style-face-p)
     (font-lock-mode 0)
-    (remove-hook 'post-command-hook #'whitespace-post-command-hook)
+    (remove-hook 'post-command-hook #'whitespace-post-command-hook t)
     (when whitespace-font-lock
       (setq whitespace-font-lock nil
 	    font-lock-keywords   whitespace-font-lock-keywords))