* buffer.c (Fset_buffer_modified_p): Use buffer_window_count
commit68ec8a2b12abd8e00f85289ccfe1e2483c782c3f
authorDmitry Antipov <dmantipov@yandex.ru>
Mon, 24 Dec 2012 12:21:42 +0000 (24 16:21 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Mon, 24 Dec 2012 12:21:42 +0000 (24 16:21 +0400)
treecae8f93bb2516ac8061fec38fefebb1016768ac6
parenta124d90a12998176b45ebda8ad43d8f431c13162
* buffer.c (Fset_buffer_modified_p): Use buffer_window_count
to check whether the buffer is displayed in some window.
* xdisp.c (message_dolog): Likewise.
src/ChangeLog
src/buffer.c
src/xdisp.c