From: Richard M. Stallman Date: Fri, 26 Jul 1996 16:08:04 +0000 (+0000) Subject: (buffer_permanent_local_flags): New variable. X-Git-Tag: emacs-19.34~76 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2e716096a0a1d9d1166d3a4acc243793510a55ce;p=emacs.git (buffer_permanent_local_flags): New variable. (init_buffer_once): Initialize it. (reset_buffer_local_variables): New argument PERMANENT_TOO. Callers changed. Now declared static. --- 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) b->case_canon_table = XCHAR_TABLE (Vascii_downcase_table)->extras[1]; b->case_eqv_table = XCHAR_TABLE (Vascii_downcase_table)->extras[2]; b->invisibility_spec = Qt; +#ifndef DOS_NT + b->buffer_file_type = Qnil; +#endif #if 0 b->sort_table = XSTRING (Vascii_sort_table); @@ -3428,14 +3431,13 @@ init_buffer_once () XSETFASTINT (buffer_local_flags.left_margin, 0x800); XSETFASTINT (buffer_local_flags.abbrev_table, 0x1000); XSETFASTINT (buffer_local_flags.display_table, 0x2000); - XSETFASTINT (buffer_local_flags.syntax_table, 0x8000); - XSETFASTINT (buffer_local_flags.cache_long_line_scans, 0x10000); #ifdef DOS_NT XSETFASTINT (buffer_local_flags.buffer_file_type, 0x4000); /* Make this one a permanent local. */ buffer_permanent_local_flags |= 0x4000; #endif - + XSETFASTINT (buffer_local_flags.syntax_table, 0x8000); + XSETFASTINT (buffer_local_flags.cache_long_line_scans, 0x10000); Vbuffer_alist = Qnil; current_buffer = 0;