Commit 8c3e96d2 authored by Chong Yidong's avatar Chong Yidong
Browse files

Fix save-excursion warning in files.el.

* files.el (recover-session-finish): Use with-current-buffer instead of save-excursion.
parent c53b9c3b
2010-02-28 Chong Yidong <cyd@stupidchicken.com>
* files.el (recover-session-finish): Use with-current-buffer
instead of save-excursion.
2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
Fix in-buffer completion when after-change-functions modify the buffer.
......
......@@ -5034,9 +5034,8 @@ This command is used in the special Dired buffer created by
(dired-unmark 1)
(dired-do-flagged-delete t)
(unwind-protect
(save-excursion
(with-current-buffer buffer
;; Read in the auto-save-list file.
(set-buffer buffer)
(erase-buffer)
(insert-file-contents file)
;; Loop thru the text of that file
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment