1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-06 11:55:48 +00:00

* lisp/obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):

Use with-current-buffer.
This commit is contained in:
Stefan Monnier 2010-09-18 00:28:10 +02:00
parent 4be520fbec
commit 269c197ee9
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
* obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
Use with-current-buffer.
* isearch.el (isearch-face): Rename from `isearch'.
(isearch-highlight): Use new name.

View File

@ -725,9 +725,8 @@ If timer is not set, then set it to scan the files in
(setq bufname (cadr thiselt))
(setq buf (get-buffer bufname))
(if (buffer-live-p buf)
(save-excursion
(with-current-buffer bufname
;;(message "buffer %s live" bufname)
(set-buffer bufname)
(if whitespace-mode
(progn
;;(message "checking for whitespace in %s" bufname)