2006/11/5, martin rudalics <[EMAIL PROTECTED]>:
I see.  Please replace the two lines

          (remove-overlays nil nil 'face 'whitespace-highlight)
          (overlay-recenter (point-max))

by

          (overlay-recenter (point-max))
          (dolist (overlay (overlays-in (point-min) (point-max)))
            (when (eq (overlay-get overlay 'face) 'whitespace-highlight)
              (delete-overlay overlay)))

and tell me whether this improves things for your problematic file.

Thanks for your prompt answer!
Yes, with this last fix finally whitespace-buffer seems to be quite
fast each time.

Thanks,
P


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to