comparison src/buffer.c @ 90180:62afea0771d8

Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-51 Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 289-301) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 68) - Update from CVS
author Miles Bader <miles@gnu.org>
date Thu, 12 May 2005 03:41:19 +0000
parents 08185296b491 a0a348c8b14b
children 01137c1fdbe9
comparison
equal deleted inserted replaced
90179:b745036dab36 90180:62afea0771d8
1 /* Buffer manipulation primitives for GNU Emacs. 1 /* Buffer manipulation primitives for GNU Emacs.
2 Copyright (C) 1985, 86, 87, 88, 89, 93, 94, 95, 97, 98, 99, 2 Copyright (C) 1985, 86, 87, 88, 89, 93, 94, 95, 97, 98, 99,
3 2000, 01, 02, 03, 04, 2005 Free Software Foundation, Inc. 3 2000, 01, 02, 03, 04, 2005 Free Software Foundation, Inc.
4 4
5 This file is part of GNU Emacs. 5 This file is part of GNU Emacs.
6 6
7 GNU Emacs is free software; you can redistribute it and/or modify 7 GNU Emacs is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by 8 it under the terms of the GNU General Public License as published by
4986 buffer_defaults.truncate_lines = Qnil; 4986 buffer_defaults.truncate_lines = Qnil;
4987 buffer_defaults.ctl_arrow = Qt; 4987 buffer_defaults.ctl_arrow = Qt;
4988 buffer_defaults.direction_reversed = Qnil; 4988 buffer_defaults.direction_reversed = Qnil;
4989 buffer_defaults.cursor_type = Qt; 4989 buffer_defaults.cursor_type = Qt;
4990 buffer_defaults.extra_line_spacing = Qnil; 4990 buffer_defaults.extra_line_spacing = Qnil;
4991 buffer_defaults.cursor_in_non_selected_windows = Qt;
4991 4992
4992 #ifdef DOS_NT 4993 #ifdef DOS_NT
4993 buffer_defaults.buffer_file_type = Qnil; /* TEXT */ 4994 buffer_defaults.buffer_file_type = Qnil; /* TEXT */
4994 #endif 4995 #endif
4995 buffer_defaults.enable_multibyte_characters = Qt; 4996 buffer_defaults.enable_multibyte_characters = Qt;
5273 5274
5274 DEFVAR_LISP_NOPRO ("default-line-spacing", 5275 DEFVAR_LISP_NOPRO ("default-line-spacing",
5275 &buffer_defaults.extra_line_spacing, 5276 &buffer_defaults.extra_line_spacing,
5276 doc: /* Default value of `line-spacing' for buffers that don't override it. 5277 doc: /* Default value of `line-spacing' for buffers that don't override it.
5277 This is the same as (default-value 'line-spacing). */); 5278 This is the same as (default-value 'line-spacing). */);
5279
5280 DEFVAR_LISP_NOPRO ("default-cursor-in-non-selected-windows",
5281 &buffer_defaults.cursor_in_non_selected_windows,
5282 doc: /* Default value of `cursor-in-non-selected-windows'.
5283 This is the same as (default-value 'cursor-in-non-selected-windows). */);
5278 5284
5279 DEFVAR_LISP_NOPRO ("default-abbrev-mode", 5285 DEFVAR_LISP_NOPRO ("default-abbrev-mode",
5280 &buffer_defaults.abbrev_mode, 5286 &buffer_defaults.abbrev_mode,
5281 doc: /* Default value of `abbrev-mode' for buffers that do not override it. 5287 doc: /* Default value of `abbrev-mode' for buffers that do not override it.
5282 This is the same as (default-value 'abbrev-mode). */); 5288 This is the same as (default-value 'abbrev-mode). */);
5954 The space is measured in pixels, and put below lines on window systems. 5960 The space is measured in pixels, and put below lines on window systems.
5955 If value is a floating point number, it specifies the spacing relative 5961 If value is a floating point number, it specifies the spacing relative
5956 to the default frame line height. */); 5962 to the default frame line height. */);
5957 5963
5958 DEFVAR_PER_BUFFER ("cursor-in-non-selected-windows", 5964 DEFVAR_PER_BUFFER ("cursor-in-non-selected-windows",
5959 &current_buffer->cursor_in_non_selected_windows, Qt, 5965 &current_buffer->cursor_in_non_selected_windows, Qnil,
5960 doc: /* *Cursor type to display in non-selected windows. 5966 doc: /* *Cursor type to display in non-selected windows.
5961 t means to use hollow box cursor. See `cursor-type' for other values. */); 5967 t means to use hollow box cursor. See `cursor-type' for other values. */);
5962 5968
5963 DEFVAR_LISP ("kill-buffer-query-functions", &Vkill_buffer_query_functions, 5969 DEFVAR_LISP ("kill-buffer-query-functions", &Vkill_buffer_query_functions,
5964 doc: /* List of functions called with no args to query before killing a buffer. */); 5970 doc: /* List of functions called with no args to query before killing a buffer. */);