; * src/buffer.h: Mention indirect buffers in 'buffer_window_count' comment

This commit is contained in:
Martin Rudalics
2026-01-25 09:50:35 +01:00
parent 6a071ad373
commit bbf1aab781

View File

@@ -1457,7 +1457,9 @@ BUF_FETCH_CHAR_AS_MULTIBYTE (struct buffer *buf, ptrdiff_t pos)
: UNIBYTE_TO_CHAR (BUF_FETCH_BYTE (buf, pos)));
}
/* Return number of windows showing B. */
/* Return number of windows showing B or a buffer that has B as its base
buffer. If B is an indirect buffer, this returns buffer_window_count
of its base buffer. */
INLINE int
buffer_window_count (struct buffer *b)