diff options
author | Geoff Gole <geoffgole@gmail.com> | 2010-08-08 22:23:35 -0400 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2010-08-08 22:23:35 -0400 |
commit | 1fcf76afe76188b1f555f3e9b619fee70907d4c8 (patch) | |
tree | 2a63557f8278c9ed83e96ffe21e7b67224411860 /lisp/whitespace.el | |
parent | e54a1075033073f835596ab666eeed099028beb8 (diff) | |
download | emacs-1fcf76afe76188b1f555f3e9b619fee70907d4c8.tar.gz |
* whitespace.el (whitespace-color-off): Remove post-command-hook locally.
Diffstat (limited to 'lisp/whitespace.el')
-rw-r--r-- | lisp/whitespace.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/whitespace.el b/lisp/whitespace.el index 183698a28f3..5c7d4e95caf 100644 --- a/lisp/whitespace.el +++ b/lisp/whitespace.el @@ -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)) |