Mercurial > emacs
changeset 73812:75af8d959739
(whitespace-buffer): Call remove-overlays after overlay-recenter for
performance. Suggested by Martin Rudalics.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Tue, 07 Nov 2006 17:37:14 +0000 |
parents | 1a4d9481d0bf |
children | ceca912e4479 |
files | lisp/whitespace.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/whitespace.el Tue Nov 07 17:36:55 2006 +0000 +++ b/lisp/whitespace.el Tue Nov 07 17:37:14 2006 +0000 @@ -425,8 +425,8 @@ (progn (whitespace-check-buffer-list (buffer-name) buffer-file-name) (whitespace-tickle-timer) + (overlay-recenter (point-max)) (remove-overlays nil nil 'face 'whitespace-highlight) - (overlay-recenter (point-max)) (if whitespace-auto-cleanup (if buffer-read-only (if (not quiet)