* buffer.h (BUF_COMPACT): New macro to follow the common style.
authorDmitry Antipov <dmantipov@yandex.ru>
Mon, 24 Dec 2012 11:41:28 +0000 (15:41 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Mon, 24 Dec 2012 11:41:28 +0000 (15:41 +0400)
commitf9e7c67e4ccdaf160c0506748f776d628a38eeba
tree5450281668646d918080a93c474bc461c84c9b84
parentdab2e22def49ff65ec803c070df4984424808aed
* buffer.h (BUF_COMPACT): New macro to follow the common style.
* buffer.c (Fget_buffer_create): Use it to set compact field of
struct buffer_text to avoid accessing an uninitialized value
when compact_buffer is called for the first time.
(compact_buffer): Use convenient BUF_COMPACT and BUF_MODIFF.
src/ChangeLog
src/buffer.c
src/buffer.h