New macro to iterate over live buffers similar to frames.
commit8f3a2c2659ddee1ae84b4b8bb28f6c388f87fd0f
authorDmitry Antipov <dmantipov@yandex.ru>
Mon, 5 Aug 2013 04:14:43 +0000 (5 08:14 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Mon, 5 Aug 2013 04:14:43 +0000 (5 08:14 +0400)
tree36980f65ace0a9492e3a28473a89428d6f45c44f
parent3e2cd454fdc04a1afefa23cdfe241c11862eaa8d
New macro to iterate over live buffers similar to frames.
* buffer.h (FOR_EACH_LIVE_BUFFER): New macro.
(Vbuffer_alist, Qpriority, Qbefore_string, Qafter_string):
Declare buffer-related variables here to offload lisp.h.
* buffer.c (Vbuffer_alist): Adjust comment.
(Fget_file_buffer, get_truename_buffer, Fother_buffer)
(other_buffer_safely):
* data.c (store_symval_forwarding):
* dispnew.c (Fframe_or_buffer_changed_p):
* fileio.c (Fdo_auto_save):
* filelock.c (unlock_all_files):
* minibuf.c (read_minibuf): Use FOR_EACH_LIVE_BUFFER.
src/ChangeLog
src/buffer.c
src/buffer.h
src/data.c
src/dispnew.c
src/fileio.c
src/filelock.c
src/lisp.h
src/minibuf.c