diff options
| author | Richard M. Stallman | 1996-07-26 16:08:04 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-07-26 16:08:04 +0000 |
| commit | 2e716096a0a1d9d1166d3a4acc243793510a55ce (patch) | |
| tree | d0d0b9c7cf70efee44fbe629c9bb0d3ed1ad93b9 /src/buffer.c | |
| parent | fe8fa62fb603090b06cf40ee47c58e93f5508869 (diff) | |
| download | emacs-2e716096a0a1d9d1166d3a4acc243793510a55ce.tar.gz emacs-2e716096a0a1d9d1166d3a4acc243793510a55ce.zip | |
(buffer_permanent_local_flags): New variable.
(init_buffer_once): Initialize it.
(reset_buffer_local_variables): New argument PERMANENT_TOO.
Callers changed. Now declared static.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/buffer.c b/src/buffer.c index a5c36f73eb0..ef225eb8803 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -521,6 +521,9 @@ reset_buffer_local_variables (b, permanent_too) | |||
| 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); |
| @@ -3428,14 +3431,13 @@ init_buffer_once () | |||
| 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; |