diff options
author | Chong Yidong <[email protected]> | 2006-11-07 17:37:14 +0000 |
---|---|---|
committer | Chong Yidong <[email protected]> | 2006-11-07 17:37:14 +0000 |
commit | 8eda2ca3b30653c761cfdd692bc6fda8af257cf9 (patch) | |
tree | b8cc208c81e4f9556099182798a60b3de4353536 /lisp/whitespace.el | |
parent | 47eff51e1a24617e071d7c33ab9d9200b351659e (diff) |
(whitespace-buffer): Call remove-overlays after overlay-recenter for
performance. Suggested by Martin Rudalics.
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 9c98b23cf2..cdb743c149 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) |