biblioChanged_ = false;
// indices
- // We may be called when there is no BufferView and so no Buffer,
- // e.g., when the last view has just been closed.
- bool const isReadOnly = buffer() ? buffer().isReadonly() : false;
+ // We may be called when there is no Buffer, e.g., when
+ // the last view has just been closed.
+ bool const isReadOnly = isBufferAvailable() ? buffer().isReadonly() : false;
indicesModule->update(bp_, isReadOnly);
// language & quotes