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:
parent
4be520fbec
commit
269c197ee9
@ -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…
Reference in New Issue
Block a user