comparison src/buffer.c @ 26372:f35140f031b4

Remove conditional compilation on USE_TEXT_PROPERTIES.
author Gerd Moellmann <gerd@gnu.org>
date Sun, 07 Nov 1999 15:52:40 +0000
parents 8455090c3fb2
children 53aa5195c94a
comparison
equal deleted inserted replaced
26371:9e9129128bef 26372:f35140f031b4
1183 m->buffer = 0; 1183 m->buffer = 0;
1184 tem = m->chain; 1184 tem = m->chain;
1185 m->chain = Qnil; 1185 m->chain = Qnil;
1186 } 1186 }
1187 BUF_MARKERS (b) = Qnil; 1187 BUF_MARKERS (b) = Qnil;
1188
1189 #ifdef USE_TEXT_PROPERTIES
1190 BUF_INTERVALS (b) = NULL_INTERVAL; 1188 BUF_INTERVALS (b) = NULL_INTERVAL;
1191 #endif
1192 1189
1193 /* Perhaps we should explicitly free the interval tree here... */ 1190 /* Perhaps we should explicitly free the interval tree here... */
1194 } 1191 }
1195 1192
1196 /* Reset the local variables, so that this buffer's local values 1193 /* Reset the local variables, so that this buffer's local values
3824 reset_buffer (&buffer_local_symbols); 3821 reset_buffer (&buffer_local_symbols);
3825 reset_buffer_local_variables (&buffer_local_symbols, 1); 3822 reset_buffer_local_variables (&buffer_local_symbols, 1);
3826 /* Prevent GC from getting confused. */ 3823 /* Prevent GC from getting confused. */
3827 buffer_defaults.text = &buffer_defaults.own_text; 3824 buffer_defaults.text = &buffer_defaults.own_text;
3828 buffer_local_symbols.text = &buffer_local_symbols.own_text; 3825 buffer_local_symbols.text = &buffer_local_symbols.own_text;
3829 #ifdef USE_TEXT_PROPERTIES
3830 BUF_INTERVALS (&buffer_defaults) = 0; 3826 BUF_INTERVALS (&buffer_defaults) = 0;
3831 BUF_INTERVALS (&buffer_local_symbols) = 0; 3827 BUF_INTERVALS (&buffer_local_symbols) = 0;
3832 #endif
3833 XSETBUFFER (Vbuffer_defaults, &buffer_defaults); 3828 XSETBUFFER (Vbuffer_defaults, &buffer_defaults);
3834 XSETBUFFER (Vbuffer_local_symbols, &buffer_local_symbols); 3829 XSETBUFFER (Vbuffer_local_symbols, &buffer_local_symbols);
3835 3830
3836 /* Set up the default values of various buffer slots. */ 3831 /* Set up the default values of various buffer slots. */
3837 /* Must do these before making the first buffer! */ 3832 /* Must do these before making the first buffer! */