emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/emacs-23 r99968: * whitespace.el (whitespac


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-23 r99968: * whitespace.el (whitespace-color-off): Remove post-command-hook locally.
Date: Sun, 08 Aug 2010 22:23:35 -0400
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 99968
author: Geoff Gole <address@hidden>
committer: Chong Yidong <address@hidden>
branch nick: emacs-23
timestamp: Sun 2010-08-08 22:23:35 -0400
message:
  * whitespace.el (whitespace-color-off): Remove post-command-hook locally.
modified:
  lisp/ChangeLog
  lisp/whitespace.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2010-08-08 20:55:52 +0000
+++ b/lisp/ChangeLog    2010-08-09 02:23:35 +0000
@@ -1,3 +1,8 @@
+2010-08-09  Geoff Gole  <address@hidden>  (tiny change)
+
+       * whitespace.el (whitespace-color-off): Remove post-command-hook
+       locally.
+
 2010-08-08  Johan Bockgård  <address@hidden>
 
        * replace.el (replace-highlight): Bind isearch-forward and

=== modified file 'lisp/whitespace.el'
--- a/lisp/whitespace.el        2010-01-18 04:39:40 +0000
+++ b/lisp/whitespace.el        2010-08-09 02:23:35 +0000
@@ -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))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]