aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorPaul Eggert2011-06-17 01:14:30 -0700
committerPaul Eggert2011-06-17 01:14:30 -0700
commitd6202519ae0dfb7421b64f823a0aaa54e1fc5951 (patch)
tree9d4c2761e62feda73d0b7d1ad0e0c99424ad5976 /src/buffer.c
parent67c36fce599fc28e5ae3eca371d034c600265dd2 (diff)
downloademacs-d6202519ae0dfb7421b64f823a0aaa54e1fc5951.tar.gz
emacs-d6202519ae0dfb7421b64f823a0aaa54e1fc5951.zip
* buffer.c: Include <verify.h>.
(init_buffer_once): Check at compile-time, not run-time.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 93f739c0d4b..fd51f50dcac 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -27,6 +27,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
27#include <setjmp.h> 27#include <setjmp.h>
28#include <unistd.h> 28#include <unistd.h>
29 29
30#include <verify.h>
31
30#include "lisp.h" 32#include "lisp.h"
31#include "intervals.h" 33#include "intervals.h"
32#include "window.h" 34#include "window.h"
@@ -4975,7 +4977,7 @@ init_buffer_once (void)
4975 The local flag bits are in the local_var_flags slot of the buffer. */ 4977 The local flag bits are in the local_var_flags slot of the buffer. */
4976 4978
4977 /* Nothing can work if this isn't true */ 4979 /* Nothing can work if this isn't true */
4978 if (sizeof (EMACS_INT) != sizeof (Lisp_Object)) abort (); 4980 { verify (sizeof (EMACS_INT) == sizeof (Lisp_Object)); }
4979 4981
4980 /* 0 means not a lisp var, -1 means always local, else mask */ 4982 /* 0 means not a lisp var, -1 means always local, else mask */
4981 memset (&buffer_local_flags, 0, sizeof buffer_local_flags); 4983 memset (&buffer_local_flags, 0, sizeof buffer_local_flags);