aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/buffer.c b/src/buffer.c
index d05fe1754c2..c95fbb5f516 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -715,9 +715,6 @@ reset_buffer_local_variables (register struct buffer *b, int permanent_too)
715 BVAR (b, case_canon_table) = XCHAR_TABLE (Vascii_downcase_table)->extras[1]; 715 BVAR (b, case_canon_table) = XCHAR_TABLE (Vascii_downcase_table)->extras[1];
716 BVAR (b, case_eqv_table) = XCHAR_TABLE (Vascii_downcase_table)->extras[2]; 716 BVAR (b, case_eqv_table) = XCHAR_TABLE (Vascii_downcase_table)->extras[2];
717 BVAR (b, invisibility_spec) = Qt; 717 BVAR (b, invisibility_spec) = Qt;
718#ifndef DOS_NT
719 BVAR (b, buffer_file_type) = Qnil;
720#endif
721 718
722 /* Reset all (or most) per-buffer variables to their defaults. */ 719 /* Reset all (or most) per-buffer variables to their defaults. */
723 if (permanent_too) 720 if (permanent_too)
@@ -5040,9 +5037,6 @@ init_buffer_once (void)
5040 BVAR (&buffer_defaults, extra_line_spacing) = Qnil; 5037 BVAR (&buffer_defaults, extra_line_spacing) = Qnil;
5041 BVAR (&buffer_defaults, cursor_in_non_selected_windows) = Qt; 5038 BVAR (&buffer_defaults, cursor_in_non_selected_windows) = Qt;
5042 5039
5043#ifdef DOS_NT
5044 BVAR (&buffer_defaults, buffer_file_type) = Qnil; /* TEXT */
5045#endif
5046 BVAR (&buffer_defaults, enable_multibyte_characters) = Qt; 5040 BVAR (&buffer_defaults, enable_multibyte_characters) = Qt;
5047 BVAR (&buffer_defaults, buffer_file_coding_system) = Qnil; 5041 BVAR (&buffer_defaults, buffer_file_coding_system) = Qnil;
5048 XSETFASTINT (BVAR (&buffer_defaults, fill_column), 70); 5042 XSETFASTINT (BVAR (&buffer_defaults, fill_column), 70);
@@ -5112,11 +5106,6 @@ init_buffer_once (void)
5112 XSETFASTINT (BVAR (&buffer_local_flags, left_margin), idx); ++idx; 5106 XSETFASTINT (BVAR (&buffer_local_flags, left_margin), idx); ++idx;
5113 XSETFASTINT (BVAR (&buffer_local_flags, abbrev_table), idx); ++idx; 5107 XSETFASTINT (BVAR (&buffer_local_flags, abbrev_table), idx); ++idx;
5114 XSETFASTINT (BVAR (&buffer_local_flags, display_table), idx); ++idx; 5108 XSETFASTINT (BVAR (&buffer_local_flags, display_table), idx); ++idx;
5115#ifdef DOS_NT
5116 XSETFASTINT (BVAR (&buffer_local_flags, buffer_file_type), idx);
5117 /* Make this one a permanent local. */
5118 buffer_permanent_local_flags[idx++] = 1;
5119#endif
5120 XSETFASTINT (BVAR (&buffer_local_flags, syntax_table), idx); ++idx; 5109 XSETFASTINT (BVAR (&buffer_local_flags, syntax_table), idx); ++idx;
5121 XSETFASTINT (BVAR (&buffer_local_flags, cache_long_line_scans), idx); ++idx; 5110 XSETFASTINT (BVAR (&buffer_local_flags, cache_long_line_scans), idx); ++idx;
5122 XSETFASTINT (BVAR (&buffer_local_flags, category_table), idx); ++idx; 5111 XSETFASTINT (BVAR (&buffer_local_flags, category_table), idx); ++idx;
@@ -5415,14 +5404,6 @@ This is the same as (default-value 'tab-width). */);
5415 doc: /* Default value of `case-fold-search' for buffers that don't override it. 5404 doc: /* Default value of `case-fold-search' for buffers that don't override it.
5416This is the same as (default-value 'case-fold-search). */); 5405This is the same as (default-value 'case-fold-search). */);
5417 5406
5418#ifdef DOS_NT
5419 DEFVAR_BUFFER_DEFAULTS ("default-buffer-file-type",
5420 buffer_file_type,
5421 doc: /* Default file type for buffers that do not override it.
5422This is the same as (default-value 'buffer-file-type).
5423The file type is nil for text, t for binary. */);
5424#endif
5425
5426 DEFVAR_BUFFER_DEFAULTS ("default-left-margin-width", 5407 DEFVAR_BUFFER_DEFAULTS ("default-left-margin-width",
5427 left_margin_cols, 5408 left_margin_cols,
5428 doc: /* Default value of `left-margin-width' for buffers that don't override it. 5409 doc: /* Default value of `left-margin-width' for buffers that don't override it.
@@ -5673,15 +5654,6 @@ word-wrapping, you might want to reduce the value of
5673`truncate-partial-width-windows', since wrapping can make text readable 5654`truncate-partial-width-windows', since wrapping can make text readable
5674in narrower windows. */); 5655in narrower windows. */);
5675 5656
5676#ifdef DOS_NT
5677 DEFVAR_PER_BUFFER ("buffer-file-type", &BVAR (current_buffer, buffer_file_type),
5678 Qnil,
5679 doc: /* Non-nil if the visited file is a binary file.
5680This variable is meaningful on MS-DOG and Windows NT.
5681On those systems, it is automatically local in every buffer.
5682On other systems, this variable is normally always nil. */);
5683#endif
5684
5685 DEFVAR_PER_BUFFER ("default-directory", &BVAR (current_buffer, directory), 5657 DEFVAR_PER_BUFFER ("default-directory", &BVAR (current_buffer, directory),
5686 make_number (Lisp_String), 5658 make_number (Lisp_String),
5687 doc: /* Name of default directory of current buffer. Should end with slash. 5659 doc: /* Name of default directory of current buffer. Should end with slash.