comparison src/buffer.c @ 284:558f606b08ae r21-0b40

Import from CVS: tag r21-0b40
author cvs
date Mon, 13 Aug 2007 10:34:13 +0200
parents 90d73dddcdc4
children e11d67e05968
comparison
equal deleted inserted replaced
283:fa3d41851a08 284:558f606b08ae
2241 buffer_local_flags.left_margin = make_int (0x800); 2241 buffer_local_flags.left_margin = make_int (0x800);
2242 buffer_local_flags.abbrev_table = make_int (0x1000); 2242 buffer_local_flags.abbrev_table = make_int (0x1000);
2243 #ifdef REGION_CACHE_NEEDS_WORK 2243 #ifdef REGION_CACHE_NEEDS_WORK
2244 buffer_local_flags.cache_long_line_scans = make_int (0x2000); 2244 buffer_local_flags.cache_long_line_scans = make_int (0x2000);
2245 #endif 2245 #endif
2246 buffer_local_flags.buffer_file_type = make_int (0x4000);
2247 #ifdef FILE_CODING 2246 #ifdef FILE_CODING
2248 buffer_local_flags.buffer_file_coding_system = make_int (0x8000); 2247 buffer_local_flags.buffer_file_coding_system = make_int (0x4000);
2249 #endif 2248 #endif
2250 2249
2251 /* #### Warning, 0x4000000 (that's six zeroes) is the largest number 2250 /* #### Warning, 0x4000000 (that's six zeroes) is the largest number
2252 currently allowable due to the XINT() handling of this value. 2251 currently allowable due to the XINT() handling of this value.
2253 With some rearrangement you can get 4 more bits. */ 2252 With some rearrangement you can get 4 more bits. */
2297 */ ); 2296 */ );
2298 2297
2299 DEFVAR_BUFFER_DEFAULTS ("default-case-fold-search", case_fold_search /* 2298 DEFVAR_BUFFER_DEFAULTS ("default-case-fold-search", case_fold_search /*
2300 Default value of `case-fold-search' for buffers that don't override it. 2299 Default value of `case-fold-search' for buffers that don't override it.
2301 This is the same as (default-value 'case-fold-search). 2300 This is the same as (default-value 'case-fold-search).
2302 */ );
2303
2304 DEFVAR_BUFFER_DEFAULTS ("default-buffer-file-type", buffer_file_type /*
2305 Default file type for buffers that do not override it.
2306 This is the same as (default-value 'buffer-file-type).
2307 The file type is nil for text, t for binary.
2308 */ ); 2301 */ );
2309 2302
2310 DEFVAR_BUFFER_LOCAL ("modeline-format", modeline_format /* 2303 DEFVAR_BUFFER_LOCAL ("modeline-format", modeline_format /*
2311 Template for displaying modeline for current buffer. 2304 Template for displaying modeline for current buffer.
2312 Each buffer has its own value of this variable. 2305 Each buffer has its own value of this variable.
2442 DEFVAR_BUFFER_LOCAL ("default-directory", directory /* 2435 DEFVAR_BUFFER_LOCAL ("default-directory", directory /*
2443 Name of default directory of current buffer. Should end with slash. 2436 Name of default directory of current buffer. Should end with slash.
2444 Each buffer has its own value of this variable. 2437 Each buffer has its own value of this variable.
2445 */ ); 2438 */ );
2446 2439
2447 DEFVAR_BUFFER_LOCAL ("buffer-file-type", buffer_file_type /*
2448 "Non-nil if the visited file is a binary file.
2449 This variable is meaningful on MS-DOS and Windows NT.
2450 On those systems, it is automatically local in every buffer.
2451 On other systems, this variable is normally always nil.
2452 */ );
2453 #ifdef FILE_CODING 2440 #ifdef FILE_CODING
2454 DEFVAR_BUFFER_DEFAULTS ("default-buffer-file-coding-system", buffer_file_coding_system /* 2441 DEFVAR_BUFFER_DEFAULTS ("default-buffer-file-coding-system", buffer_file_coding_system /*
2455 Default value of `buffer-file-coding-system' for buffers that do not override it. 2442 Default value of `buffer-file-coding-system' for buffers that do not override it.
2456 This is the same as (default-value 'buffer-file-coding-system). 2443 This is the same as (default-value 'buffer-file-coding-system).
2457 This value is used both for buffers without associated files and 2444 This value is used both for buffers without associated files and