summaryrefslogtreecommitdiff
path: root/src/buffer.h
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-08-19 03:54:46 +0000
committerJim Blandy <jimb@redhat.com>1992-08-19 03:54:46 +0000
commitfea425b9ddc3534a501a86de782ecabf406ebb47 (patch)
tree6bf3f918ced5456561952138dd895a76fafaef94 /src/buffer.h
parent529ba5d03e88b434f941d038577653a24d43f539 (diff)
downloademacs-fea425b9ddc3534a501a86de782ecabf406ebb47.tar.gz
entered into RCS
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/buffer.h b/src/buffer.h
index a75d81bfd4a..a0e06025893 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -1,11 +1,11 @@
/* Header file for the buffer manipulation primitives.
- Copyright (C) 1985, 1986, 1990 Free Software Foundation, Inc.
+ Copyright (C) 1985, 1986, 1990, 1992 Free Software Foundation, Inc.
This file is part of GNU Emacs.
GNU Emacs is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 1, or (at your option)
+the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU Emacs is distributed in the hope that it will be useful,
@@ -296,6 +296,15 @@ extern struct buffer buffer_local_flags;
extern struct buffer buffer_local_symbols;
+/* This structure holds the required types for the values in the
+ buffer-local slots. If a slot contains Qnil, then the
+ corresponding buffer slot may contain a value of any type. If a
+ slot contains an integer, then prospective values' tags must be
+ equal to that integer. When a tag does not match, the function
+ buffer_slot_type_mismatch will signal an error. The value Qnil may
+ always be safely stored in any slot. */
+struct buffer buffer_local_types;
+
/* Point in the current buffer. */
#define point (current_buffer->text.pt + 0)