diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2012-09-11 08:22:03 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2012-09-11 08:22:03 +0400 |
commit | e578f3813ff7f48663eb4821caee267e3ec47aa8 (patch) | |
tree | b48cd4a8fb778a2a991a342932d357fa8ba4ccc2 /src/insdel.c | |
parent | 3057e615af94af8d08f475208c7e459f5d7115ac (diff) |
Convenient macro to check whether the buffer is live.
* buffer.h (BUFFER_LIVE_P): New macro.
* alloc.c, buffer.c, editfns.c, insdel.c, lread.c, marker.c:
* minibuf.c, print.c, process.c, window.c, xdisp.c: Use it.
Diffstat (limited to 'src/insdel.c')
-rw-r--r-- | src/insdel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/insdel.c b/src/insdel.c index 604a9bbf3d..b12a390633 100644 --- a/src/insdel.c +++ b/src/insdel.c @@ -2107,7 +2107,7 @@ DEFUN ("combine-after-change-execute", Fcombine_after_change_execute, non-nil, and insertion calls a file handler (e.g. through lock_file) which scribbles into a temp file -- cyd */ if (!BUFFERP (combine_after_change_buffer) - || NILP (BVAR (XBUFFER (combine_after_change_buffer), name))) + || !BUFFER_LIVE_P (XBUFFER (combine_after_change_buffer))) { combine_after_change_list = Qnil; return Qnil; |