aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/buffer.h b/src/buffer.h
index fbbbf1b8434..1129840bd47 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -982,6 +982,11 @@ bset_width_table (struct buffer *b, Lisp_Object val)
982 982
983#define BUFFER_LIVE_P(b) (!NILP (BVAR (b, name))) 983#define BUFFER_LIVE_P(b) (!NILP (BVAR (b, name)))
984 984
985/* Convenient check whether buffer B is hidden (i.e. its name
986 starts with a space). Caller must ensure that B is live. */
987
988#define BUFFER_HIDDEN_P(b) (SREF (BVAR (b, name), 0) == ' ')
989
985/* Verify indirection counters. */ 990/* Verify indirection counters. */
986 991
987#define BUFFER_CHECK_INDIRECTION(b) \ 992#define BUFFER_CHECK_INDIRECTION(b) \