aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c41
1 files changed, 28 insertions, 13 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 3eb96beeb0f..8f8bfb54a21 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1,8 +1,8 @@
1/* Buffer manipulation primitives for GNU Emacs. 1/* Buffer manipulation primitives for GNU Emacs.
2 Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, 2
3 1995, 1997, 1998, 1999, 2000, 2001, 2002, 3Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, 1995, 1997,
4 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 4 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
5 Free Software Foundation, Inc. 5 2009, 2010 Free Software Foundation, Inc.
6 6
7This file is part of GNU Emacs. 7This file is part of GNU Emacs.
8 8
@@ -5601,7 +5601,8 @@ Format with `format-mode-line' to produce a string value. */);
5601 doc: /* Local (mode-specific) abbrev table of current buffer. */); 5601 doc: /* Local (mode-specific) abbrev table of current buffer. */);
5602 5602
5603 DEFVAR_PER_BUFFER ("abbrev-mode", &current_buffer->abbrev_mode, Qnil, 5603 DEFVAR_PER_BUFFER ("abbrev-mode", &current_buffer->abbrev_mode, Qnil,
5604 doc: /* Non-nil turns on automatic expansion of abbrevs as they are inserted. */); 5604 doc: /* Non-nil if Abbrev mode is enabled.
5605Use the command `abbrev-mode' to change this variable. */);
5605 5606
5606 DEFVAR_PER_BUFFER ("case-fold-search", &current_buffer->case_fold_search, 5607 DEFVAR_PER_BUFFER ("case-fold-search", &current_buffer->case_fold_search,
5607 Qnil, 5608 Qnil,
@@ -6099,11 +6100,23 @@ to the value obtained by calling `current-time'.
6099If the buffer has never been shown in a window, the value is nil. */); 6100If the buffer has never been shown in a window, the value is nil. */);
6100 6101
6101 DEFVAR_LISP ("transient-mark-mode", &Vtransient_mark_mode, 6102 DEFVAR_LISP ("transient-mark-mode", &Vtransient_mark_mode,
6102 doc: /* */); 6103 doc: /* Non-nil if Transient Mark mode is enabled.
6104See the command `transient-mark-mode' for a description of this minor mode.
6105
6106Non-nil also enables highlighting of the region whenever the mark is active.
6107The variable `highlight-nonselected-windows' controls whether to highlight
6108all windows or just the selected window.
6109
6110If the value is `lambda', that enables Transient Mark mode temporarily.
6111After any subsequent action that would normally deactivate the mark
6112\(such as buffer modification), Transient Mark mode is turned off.
6113
6114If the value is (only . OLDVAL), that enables Transient Mark mode
6115temporarily. After any subsequent point motion command that is not
6116shift-translated, or any other action that would normally deactivate
6117the mark (such as buffer modification), the value of
6118`transient-mark-mode' is set to OLDVAL. */);
6103 Vtransient_mark_mode = Qnil; 6119 Vtransient_mark_mode = Qnil;
6104 /* The docstring is in simple.el. If we put it here, it would be
6105 overwritten when transient-mark-mode is defined using
6106 define-minor-mode. */
6107 6120
6108 DEFVAR_LISP ("inhibit-read-only", &Vinhibit_read_only, 6121 DEFVAR_LISP ("inhibit-read-only", &Vinhibit_read_only,
6109 doc: /* *Non-nil means disregard read-only status of buffers or characters. 6122 doc: /* *Non-nil means disregard read-only status of buffers or characters.
@@ -6141,8 +6154,12 @@ to the default frame line height. A value of nil means add no extra space. */)
6141 6154
6142 DEFVAR_PER_BUFFER ("cursor-in-non-selected-windows", 6155 DEFVAR_PER_BUFFER ("cursor-in-non-selected-windows",
6143 &current_buffer->cursor_in_non_selected_windows, Qnil, 6156 &current_buffer->cursor_in_non_selected_windows, Qnil,
6144 doc: /* *Cursor type to display in non-selected windows. 6157 doc: /* *Non-nil means show a cursor in non-selected windows.
6145The value t means to use hollow box cursor. See `cursor-type' for other values. */); 6158If nil, only shows a cursor in the selected window.
6159If t, displays a cursor related to the usual cursor type
6160\(a solid box becomes hollow, a bar becomes a narrower bar).
6161You can also specify the cursor type as in the `cursor-type' variable.
6162Use Custom to set this variable and update the display." */);
6146 6163
6147 DEFVAR_LISP ("kill-buffer-query-functions", &Vkill_buffer_query_functions, 6164 DEFVAR_LISP ("kill-buffer-query-functions", &Vkill_buffer_query_functions,
6148 doc: /* List of functions called with no args to query before killing a buffer. 6165 doc: /* List of functions called with no args to query before killing a buffer.
@@ -6219,5 +6236,3 @@ keys_of_buffer (void)
6219 Fput (intern_c_string ("erase-buffer"), Qdisabled, Qt); 6236 Fput (intern_c_string ("erase-buffer"), Qdisabled, Qt);
6220} 6237}
6221 6238
6222/* arch-tag: e48569bf-69a9-4b65-a23b-8e68769436e1
6223 (do not change this comment) */