HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Convenient macro to check whether the buffer is live.
[bpt/emacs.git]
/
src
/
alloc.c
diff --git
a/src/alloc.c
b/src/alloc.c
index
33dc68d
..
7bbc0ab
100644
(file)
--- a/
src/alloc.c
+++ b/
src/alloc.c
@@
-3682,7
+3682,7
@@
build_marker (struct buffer *buf, ptrdiff_t charpos, ptrdiff_t bytepos)
struct Lisp_Marker *m;
/* No dead buffers here. */
- eassert (
!NILP (BVAR (buf, name)
));
+ eassert (
BUFFER_LIVE_P (buf
));
/* Every character is at least one byte. */
eassert (charpos <= bytepos);