Mercurial > emacs
comparison src/buffer.c @ 15786:f2d0e8928d57
(buffer_permanent_local_flags): New variable.
(init_buffer_once): Initialize it.
(reset_buffer_local_variables): New argument PERMANENT_TOO.
Callers changed. Now declared static.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Fri, 26 Jul 1996 16:08:04 +0000 |
| parents | 6018e01d4466 |
| children | ccf489f8596e |
comparison
equal
deleted
inserted
replaced
| 15785:9902d8a8a548 | 15786:f2d0e8928d57 |
|---|---|
| 519 b->downcase_table = Vascii_downcase_table; | 519 b->downcase_table = Vascii_downcase_table; |
| 520 b->upcase_table = XCHAR_TABLE (Vascii_downcase_table)->extras[0]; | 520 b->upcase_table = XCHAR_TABLE (Vascii_downcase_table)->extras[0]; |
| 521 b->case_canon_table = XCHAR_TABLE (Vascii_downcase_table)->extras[1]; | 521 b->case_canon_table = XCHAR_TABLE (Vascii_downcase_table)->extras[1]; |
| 522 b->case_eqv_table = XCHAR_TABLE (Vascii_downcase_table)->extras[2]; | 522 b->case_eqv_table = XCHAR_TABLE (Vascii_downcase_table)->extras[2]; |
| 523 b->invisibility_spec = Qt; | 523 b->invisibility_spec = Qt; |
| 524 #ifndef DOS_NT | |
| 525 b->buffer_file_type = Qnil; | |
| 526 #endif | |
| 524 | 527 |
| 525 #if 0 | 528 #if 0 |
| 526 b->sort_table = XSTRING (Vascii_sort_table); | 529 b->sort_table = XSTRING (Vascii_sort_table); |
| 527 b->folding_sort_table = XSTRING (Vascii_folding_sort_table); | 530 b->folding_sort_table = XSTRING (Vascii_folding_sort_table); |
| 528 #endif /* 0 */ | 531 #endif /* 0 */ |
| 3426 XSETFASTINT (buffer_local_flags.ctl_arrow, 0x200); | 3429 XSETFASTINT (buffer_local_flags.ctl_arrow, 0x200); |
| 3427 XSETFASTINT (buffer_local_flags.fill_column, 0x400); | 3430 XSETFASTINT (buffer_local_flags.fill_column, 0x400); |
| 3428 XSETFASTINT (buffer_local_flags.left_margin, 0x800); | 3431 XSETFASTINT (buffer_local_flags.left_margin, 0x800); |
| 3429 XSETFASTINT (buffer_local_flags.abbrev_table, 0x1000); | 3432 XSETFASTINT (buffer_local_flags.abbrev_table, 0x1000); |
| 3430 XSETFASTINT (buffer_local_flags.display_table, 0x2000); | 3433 XSETFASTINT (buffer_local_flags.display_table, 0x2000); |
| 3431 XSETFASTINT (buffer_local_flags.syntax_table, 0x8000); | |
| 3432 XSETFASTINT (buffer_local_flags.cache_long_line_scans, 0x10000); | |
| 3433 #ifdef DOS_NT | 3434 #ifdef DOS_NT |
| 3434 XSETFASTINT (buffer_local_flags.buffer_file_type, 0x4000); | 3435 XSETFASTINT (buffer_local_flags.buffer_file_type, 0x4000); |
| 3435 /* Make this one a permanent local. */ | 3436 /* Make this one a permanent local. */ |
| 3436 buffer_permanent_local_flags |= 0x4000; | 3437 buffer_permanent_local_flags |= 0x4000; |
| 3437 #endif | 3438 #endif |
| 3438 | 3439 XSETFASTINT (buffer_local_flags.syntax_table, 0x8000); |
| 3440 XSETFASTINT (buffer_local_flags.cache_long_line_scans, 0x10000); | |
| 3439 | 3441 |
| 3440 Vbuffer_alist = Qnil; | 3442 Vbuffer_alist = Qnil; |
| 3441 current_buffer = 0; | 3443 current_buffer = 0; |
| 3442 all_buffers = 0; | 3444 all_buffers = 0; |
| 3443 | 3445 |
