* lisp/obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
Use with-current-buffer.
This commit is contained in:
parent
4be520fbec
commit
269c197ee9
2 changed files with 4 additions and 2 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue