]> git.eshelyaron.com Git - emacs.git/commitdiff
* whitespace.el (whitespace-color-off): Remove post-command-hook locally.
authorGeoff Gole <geoffgole@gmail.com>
Mon, 9 Aug 2010 02:23:35 +0000 (22:23 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 9 Aug 2010 02:23:35 +0000 (22:23 -0400)
lisp/ChangeLog
lisp/whitespace.el

index 3a37cf2dfb4da40a0ebbdfb1f9600567763928fb..0bdb6535045ff360518c0b0499ea6adc620e39ae 100644 (file)
@@ -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
index 183698a28f3676aad829b7f0eb0468cfcad0d8f4..5c7d4e95caf665c22962b8b50342b242ca70baae 100644 (file)
@@ -2297,7 +2297,7 @@ resultant list will be returned."
   ;; 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))