summaryrefslogtreecommitdiff
path: root/lisp/xml.el
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2012-07-03 07:57:52 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2012-07-03 07:57:52 +0400
commit36429c89cbd7282a7614a358e5edb4d37f4a3f47 (patch)
treeeafca213d91a33d626e60caec38ccc21bdd394fe /lisp/xml.el
parentb544fef2ac730e5fc8c072b33584d9b48d25f6fa (diff)
downloademacs-36429c89cbd7282a7614a358e5edb4d37f4a3f47.tar.gz
Cleanup basic buffer management.
* buffer.h (struct buffer): Change layout to use generic vector marking code. Fix some comments. Change type of 'clip_changed' to bitfield. Remove unused #ifndef old. (FIRST_FIELD_PER_BUFFER, LAST_FIELD_PER_BUFFER): Remove. (GET_OVERLAYS_AT): Fix indentation. (for_each_per_buffer_object_at): New macro. * buffer.c (clone_per_buffer_values, reset_buffer_local_variables) (Fbuffer_local_variables): Use it. (init_buffer_once, syms_of_buffer): Remove unused #ifndef old. * alloc.c (allocate_buffer): Adjust to match new layout of struct buffer. Fix comment. (mark_overlay): New function. (mark_buffer): Use it. Use mark_vectorlike to mark normal Lisp area of struct buffer. (mark_object): Use it. Adjust marking of misc objects and related comments.
Diffstat (limited to 'lisp/xml.el')
0 files changed, 0 insertions, 0 deletions