diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2006-11-07 17:37:14 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2006-11-07 17:37:14 +0000 |
commit | 8eda2ca3b30653c761cfdd692bc6fda8af257cf9 (patch) | |
tree | b8cc208c81e4f9556099182798a60b3de4353536 /lisp | |
parent | 47eff51e1a24617e071d7c33ab9d9200b351659e (diff) | |
download | emacs-8eda2ca3b30653c761cfdd692bc6fda8af257cf9.tar.gz emacs-8eda2ca3b30653c761cfdd692bc6fda8af257cf9.tar.bz2 emacs-8eda2ca3b30653c761cfdd692bc6fda8af257cf9.zip |
(whitespace-buffer): Call remove-overlays after overlay-recenter for
performance. Suggested by Martin Rudalics.
Diffstat (limited to 'lisp')
-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 9c98b23cf28..cdb743c1494 100644 --- a/lisp/whitespace.el +++ b/lisp/whitespace.el @@ -425,8 +425,8 @@ and: (progn (whitespace-check-buffer-list (buffer-name) buffer-file-name) (whitespace-tickle-timer) - (remove-overlays nil nil 'face 'whitespace-highlight) (overlay-recenter (point-max)) + (remove-overlays nil nil 'face 'whitespace-highlight) (if whitespace-auto-cleanup (if buffer-read-only (if (not quiet) |