Revision: emacs--multi-tty--0--patch-455 Archive: lorentey@elte.hu--2004 Creator: Karoly Lorentey Date: Tue Dec 20 22:35:03 CET 2005 Standard-date: 2005-12-20 21:35:03 GMT Modified-files: lisp/simple.el src/alloc.c src/buffer.c src/frame.c src/frame.h New-patches: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-455 Summary: Implement full support for frame-local `next-buffer' and `previous-buffer'. Keywords: * frame.h (frame): New field `buried_buffer_list'. * alloc.c (mark_object): Mark it. * frame.c (make_frame): Initialize it. * frame.h (Qburied_buffer_list): New symbol declaration. * buffer.c (Fbuffer_list): Handle the buried-buffer-list frame parameter. * buffer.c (record_buffer): Delete the buffer from the buried_buffer_list. * buffer.c (Fbury_buffer): Add buffer to buried_buffer_list. * frame.c (Qburied_buffer_list): New symbol. (syms_of_frame): Initialize and staticpro it. (frames_discard_buffer): Also remove buffer from buried-buffer-list. (store_frame_param): Handle `buried-buffer-list' specially. (Fframe_parameters): Handle `buried-buffer-list' specially. * simple.el (last-buffer): Don't look at buried-buffer-list, rely on `buffer-list' doing that for us. (next-buffer): Simplify. (previous-buffer): Simplify.