aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorKaroly Lorentey2005-05-06 21:06:31 +0000
committerKaroly Lorentey2005-05-06 21:06:31 +0000
commitc25b55138a36cf5f334070baf79ce61c1e956eed (patch)
tree74ec7f847395839fae3acd0179f1a779c5ebc3b9 /src/buffer.c
parent97c57fb2b8d271b2beba317c6213ab34190bfac7 (diff)
parent31640842b6cd2970ced612a422fa785d2d718dc0 (diff)
downloademacs-c25b55138a36cf5f334070baf79ce61c1e956eed.tar.gz
emacs-c25b55138a36cf5f334070baf79ce61c1e956eed.zip
Merged from miles@gnu.org--gnu-2005 (patch 68, 286-291)
Patches applied: * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-286 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-287 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-288 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-289 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-290 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-291 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-68 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-341
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 1fba9136375..e9567841c8e 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1,6 +1,6 @@
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
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -4972,6 +4972,7 @@ init_buffer_once ()
4972 buffer_defaults.direction_reversed = Qnil; 4972 buffer_defaults.direction_reversed = Qnil;
4973 buffer_defaults.cursor_type = Qt; 4973 buffer_defaults.cursor_type = Qt;
4974 buffer_defaults.extra_line_spacing = Qnil; 4974 buffer_defaults.extra_line_spacing = Qnil;
4975 buffer_defaults.cursor_in_non_selected_windows = Qt;
4975 4976
4976#ifdef DOS_NT 4977#ifdef DOS_NT
4977 buffer_defaults.buffer_file_type = Qnil; /* TEXT */ 4978 buffer_defaults.buffer_file_type = Qnil; /* TEXT */
@@ -5068,6 +5069,7 @@ init_buffer_once ()
5068 XSETFASTINT (buffer_local_flags.header_line_format, idx); ++idx; 5069 XSETFASTINT (buffer_local_flags.header_line_format, idx); ++idx;
5069 XSETFASTINT (buffer_local_flags.cursor_type, idx); ++idx; 5070 XSETFASTINT (buffer_local_flags.cursor_type, idx); ++idx;
5070 XSETFASTINT (buffer_local_flags.extra_line_spacing, idx); ++idx; 5071 XSETFASTINT (buffer_local_flags.extra_line_spacing, idx); ++idx;
5072 XSETFASTINT (buffer_local_flags.cursor_in_non_selected_windows, idx); ++idx;
5071 5073
5072 /* Need more room? */ 5074 /* Need more room? */
5073 if (idx >= MAX_PER_BUFFER_VARS) 5075 if (idx >= MAX_PER_BUFFER_VARS)
@@ -5259,6 +5261,11 @@ This is the same as (default-value 'cursor-type). */);
5259 doc: /* Default value of `line-spacing' for buffers that don't override it. 5261 doc: /* Default value of `line-spacing' for buffers that don't override it.
5260This is the same as (default-value 'line-spacing). */); 5262This is the same as (default-value 'line-spacing). */);
5261 5263
5264 DEFVAR_LISP_NOPRO ("default-cursor-in-non-selected-windows",
5265 &buffer_defaults.cursor_in_non_selected_windows,
5266 doc: /* Default value of `cursor-in-non-selected-windows'.
5267This is the same as (default-value 'cursor-in-non-selected-windows). */);
5268
5262 DEFVAR_LISP_NOPRO ("default-abbrev-mode", 5269 DEFVAR_LISP_NOPRO ("default-abbrev-mode",
5263 &buffer_defaults.abbrev_mode, 5270 &buffer_defaults.abbrev_mode,
5264 doc: /* Default value of `abbrev-mode' for buffers that do not override it. 5271 doc: /* Default value of `abbrev-mode' for buffers that do not override it.
@@ -5938,6 +5945,11 @@ The space is measured in pixels, and put below lines on window systems.
5938If value is a floating point number, it specifies the spacing relative 5945If value is a floating point number, it specifies the spacing relative
5939to the default frame line height. */); 5946to the default frame line height. */);
5940 5947
5948 DEFVAR_PER_BUFFER ("cursor-in-non-selected-windows",
5949 &current_buffer->cursor_in_non_selected_windows, Qnil,
5950 doc: /* *Cursor type to display in non-selected windows.
5951t means to use hollow box cursor. See `cursor-type' for other values. */);
5952
5941 DEFVAR_LISP ("kill-buffer-query-functions", &Vkill_buffer_query_functions, 5953 DEFVAR_LISP ("kill-buffer-query-functions", &Vkill_buffer_query_functions,
5942 doc: /* List of functions called with no args to query before killing a buffer. */); 5954 doc: /* List of functions called with no args to query before killing a buffer. */);
5943 Vkill_buffer_query_functions = Qnil; 5955 Vkill_buffer_query_functions = Qnil;