* src/buffer.c (Fmake_indirect_buffer): Fix a typo in a recent
change.
* doc/lispref/buffers.texi (Indirect Buffers): Fix punctuation.
non-@code{nil}, the initial state is copied from the actual base
buffer, not from @var{base-buffer}.
-@xref{Creating Buffers} for the meaning of @var{inhibit-buffer-hooks}.
+@xref{Creating Buffers}, for the meaning of @var{inhibit-buffer-hooks}.
@end deffn
@deffn Command clone-indirect-buffer newname display-flag &optional norecord
b->pt_byte = b->base_buffer->pt_byte;
b->begv_byte = b->base_buffer->begv_byte;
b->zv_byte = b->base_buffer->zv_byte;
- b->inhibit_buffer_hooks = inhibit_buffer_hooks;
+ b->inhibit_buffer_hooks = !NILP (inhibit_buffer_hooks);
b->newline_cache = 0;
b->width_run_cache = 0;