Mercurial > emacs
diff src/undo.c @ 32992:8d46095169e8
* undo.c (record_delete): Check that last_undo_buffer is really a buffer before
applying XBUFFER to it.
* keymap.c (where_is_internal): Pass lisp object, not integer, to Faref.
| author | Ken Raeburn <raeburn@raeburn.org> |
|---|---|
| date | Fri, 27 Oct 2000 23:01:20 +0000 |
| parents | 78ce106d272e |
| children | aaa588f14d8f |
line wrap: on
line diff
--- a/src/undo.c Fri Oct 27 22:59:52 2000 +0000 +++ b/src/undo.c Fri Oct 27 23:01:20 2000 +0000 @@ -102,7 +102,8 @@ if (NILP (pending_boundary)) pending_boundary = Fcons (Qnil, Qnil); - if (current_buffer != XBUFFER (last_undo_buffer)) + if (BUFFERP (last_undo_buffer) + && current_buffer != XBUFFER (last_undo_buffer)) Fundo_boundary (); XSETBUFFER (last_undo_buffer, current_buffer);
