aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorJoakim Verona2012-07-31 00:00:41 +0200
committerJoakim Verona2012-07-31 00:00:41 +0200
commit55fa71b3d9bb8609ca3cbb56f92c776ad8724a69 (patch)
treeb002fe941cc8636f8bd735717e440014359839dd /src/buffer.c
parent5fb63197843dcae66f2fe0ddd6f4a9d560e9db2f (diff)
parentb429a4eee4e09b1ba09e17ced5091d042955d84f (diff)
downloademacs-55fa71b3d9bb8609ca3cbb56f92c776ad8724a69.tar.gz
emacs-55fa71b3d9bb8609ca3cbb56f92c776ad8724a69.zip
upstream
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 06d385110c6..833eb843168 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -56,7 +56,7 @@ struct buffer *all_buffers;
56 Setting the default value also goes through the alist of buffers 56 Setting the default value also goes through the alist of buffers
57 and stores into each buffer that does not say it has a local value. */ 57 and stores into each buffer that does not say it has a local value. */
58 58
59DECL_ALIGN (struct buffer, buffer_defaults); 59struct buffer alignas (GCALIGNMENT) buffer_defaults;
60 60
61/* A Lisp_Object pointer to the above, used for staticpro */ 61/* A Lisp_Object pointer to the above, used for staticpro */
62 62
@@ -83,7 +83,7 @@ struct buffer buffer_local_flags;
83/* This structure holds the names of symbols whose values may be 83/* This structure holds the names of symbols whose values may be
84 buffer-local. It is indexed and accessed in the same way as the above. */ 84 buffer-local. It is indexed and accessed in the same way as the above. */
85 85
86DECL_ALIGN (struct buffer, buffer_local_symbols); 86struct buffer alignas (GCALIGNMENT) buffer_local_symbols;
87 87
88/* A Lisp_Object pointer to the above, used for staticpro */ 88/* A Lisp_Object pointer to the above, used for staticpro */
89static Lisp_Object Vbuffer_local_symbols; 89static Lisp_Object Vbuffer_local_symbols;
@@ -5212,7 +5212,7 @@ syms_of_buffer (void)
5212 DEFSYM (Qkill_buffer_query_functions, "kill-buffer-query-functions"); 5212 DEFSYM (Qkill_buffer_query_functions, "kill-buffer-query-functions");
5213 5213
5214 Fput (Qprotected_field, Qerror_conditions, 5214 Fput (Qprotected_field, Qerror_conditions,
5215 pure_cons (Qprotected_field, pure_cons (Qerror, Qnil))); 5215 listn (CONSTYPE_PURE, 2, Qprotected_field, Qerror));
5216 Fput (Qprotected_field, Qerror_message, 5216 Fput (Qprotected_field, Qerror_message,
5217 build_pure_c_string ("Attempt to modify a protected field")); 5217 build_pure_c_string ("Attempt to modify a protected field"));
5218 5218
@@ -5457,17 +5457,17 @@ Use the command `abbrev-mode' to change this variable. */);
5457 doc: /* Non-nil if searches and matches should ignore case. */); 5457 doc: /* Non-nil if searches and matches should ignore case. */);
5458 5458
5459 DEFVAR_PER_BUFFER ("fill-column", &BVAR (current_buffer, fill_column), 5459 DEFVAR_PER_BUFFER ("fill-column", &BVAR (current_buffer, fill_column),
5460 make_number (LISP_INT_TAG), 5460 make_number (Lisp_Int0),
5461 doc: /* Column beyond which automatic line-wrapping should happen. 5461 doc: /* Column beyond which automatic line-wrapping should happen.
5462Interactively, you can set the buffer local value using \\[set-fill-column]. */); 5462Interactively, you can set the buffer local value using \\[set-fill-column]. */);
5463 5463
5464 DEFVAR_PER_BUFFER ("left-margin", &BVAR (current_buffer, left_margin), 5464 DEFVAR_PER_BUFFER ("left-margin", &BVAR (current_buffer, left_margin),
5465 make_number (LISP_INT_TAG), 5465 make_number (Lisp_Int0),
5466 doc: /* Column for the default `indent-line-function' to indent to. 5466 doc: /* Column for the default `indent-line-function' to indent to.
5467Linefeed indents to this column in Fundamental mode. */); 5467Linefeed indents to this column in Fundamental mode. */);
5468 5468
5469 DEFVAR_PER_BUFFER ("tab-width", &BVAR (current_buffer, tab_width), 5469 DEFVAR_PER_BUFFER ("tab-width", &BVAR (current_buffer, tab_width),
5470 make_number (LISP_INT_TAG), 5470 make_number (Lisp_Int0),
5471 doc: /* Distance between tab stops (for display of tab characters), in columns. 5471 doc: /* Distance between tab stops (for display of tab characters), in columns.
5472This should be an integer greater than zero. */); 5472This should be an integer greater than zero. */);
5473 5473
@@ -5588,7 +5588,7 @@ If it is nil, that means don't auto-save this buffer. */);
5588Backing up is done before the first time the file is saved. */); 5588Backing up is done before the first time the file is saved. */);
5589 5589
5590 DEFVAR_PER_BUFFER ("buffer-saved-size", &BVAR (current_buffer, save_length), 5590 DEFVAR_PER_BUFFER ("buffer-saved-size", &BVAR (current_buffer, save_length),
5591 make_number (LISP_INT_TAG), 5591 make_number (Lisp_Int0),
5592 doc: /* Length of current buffer when last read in, saved or auto-saved. 5592 doc: /* Length of current buffer when last read in, saved or auto-saved.
55930 initially. 55930 initially.
5594-1 means auto-saving turned off until next real save. 5594-1 means auto-saving turned off until next real save.