Always use set_buffer_if_live to restore original buffer at unwind.
authorDmitry Antipov <dmantipov@yandex.ru>
Tue, 28 Aug 2012 06:20:08 +0000 (10:20 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Tue, 28 Aug 2012 06:20:08 +0000 (10:20 +0400)
commit66322887059e1f2711e07def5eff661281cee855
treeedf1ef336402c53b08c69f2b0d92c2391a2549d5
parenta3d794a153425b09a0185c660926c241d13e0f2c
Always use set_buffer_if_live to restore original buffer at unwind.
* buffer.h (record_unwind_current_buffer): New function.
* bytecode.c, dispnew.c, editfns.c, fileio.c, fns.c, insdel.c:
* keyboard.c, keymap.c, minibuf.c, print.c, process.c, textprop.c:
* undo.c, window.c: Adjust users.
* buffer.c (set_buffer_if_live): Fix comment.
17 files changed:
src/ChangeLog
src/buffer.c
src/buffer.h
src/bytecode.c
src/dispnew.c
src/editfns.c
src/fileio.c
src/fns.c
src/insdel.c
src/keyboard.c
src/keymap.c
src/minibuf.c
src/print.c
src/process.c
src/textprop.c
src/undo.c
src/window.c