mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Fix save-excursion warning in files.el.
* files.el (recover-session-finish): Use with-current-buffer instead of save-excursion.
This commit is contained in:
parent
c53b9c3b0a
commit
8c3e96d2f0
2 changed files with 6 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue