aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
authorJoakim Verona2012-12-07 08:26:32 +0100
committerJoakim Verona2012-12-07 08:26:32 +0100
commitedcb8987b03c7f0592f0ccf9910952daec08f524 (patch)
tree8adbe26dc4573273d58b8312cd474be72649b6d2 /src/buffer.h
parentf38699858c9228c46a2191e305c00c4158c790d1 (diff)
parented08365b9e2756208b0cd2724715b47df6bf5320 (diff)
downloademacs-edcb8987b03c7f0592f0ccf9910952daec08f524.tar.gz
emacs-edcb8987b03c7f0592f0ccf9910952daec08f524.zip
auto upstream
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) \