Mercurial > emacs
comparison src/buffer.c @ 1038:59fa7697bb14
(syms_of_buffer): Made buffer-display-table,
buffer-field-list and buffer-undo-list allow any type of value.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 28 Aug 1992 20:39:57 +0000 |
parents | c1ebe69206df |
children | da04b25b1759 |
comparison
equal
deleted
inserted
replaced
1037:c17a6750293c | 1038:59fa7697bb14 |
---|---|
1560 DEFVAR_PER_BUFFER ("overwrite-mode", ¤t_buffer->overwrite_mode, Qnil, | 1560 DEFVAR_PER_BUFFER ("overwrite-mode", ¤t_buffer->overwrite_mode, Qnil, |
1561 "Non-nil if self-insertion should replace existing text.\n\ | 1561 "Non-nil if self-insertion should replace existing text.\n\ |
1562 Automatically becomes buffer-local when set in any fashion."); | 1562 Automatically becomes buffer-local when set in any fashion."); |
1563 | 1563 |
1564 DEFVAR_PER_BUFFER ("buffer-display-table", ¤t_buffer->display_table, | 1564 DEFVAR_PER_BUFFER ("buffer-display-table", ¤t_buffer->display_table, |
1565 make_number (Lisp_Vector), | 1565 Qnil, |
1566 "Display table that controls display of the contents of current buffer.\n\ | 1566 "Display table that controls display of the contents of current buffer.\n\ |
1567 Automatically becomes buffer-local when set in any fashion.\n\ | 1567 Automatically becomes buffer-local when set in any fashion.\n\ |
1568 The display table is a vector created with `make-display-table'.\n\ | 1568 The display table is a vector created with `make-display-table'.\n\ |
1569 The first 256 elements control how to display each possible text character.\n\ | 1569 The first 256 elements control how to display each possible text character.\n\ |
1570 The value should be a \"rope\" (see `make-rope') or nil;\n\ | 1570 The value should be a \"rope\" (see `make-rope') or nil;\n\ |
1577 the decoration indicating the presence of invisible lines (element 260).\n\ | 1577 the decoration indicating the presence of invisible lines (element 260).\n\ |
1578 If this variable is nil, the value of `standard-display-table' is used.\n\ | 1578 If this variable is nil, the value of `standard-display-table' is used.\n\ |
1579 Each window can have its own, overriding display table."); | 1579 Each window can have its own, overriding display table."); |
1580 | 1580 |
1581 DEFVAR_PER_BUFFER ("buffer-field-list", ¤t_buffer->fieldlist, | 1581 DEFVAR_PER_BUFFER ("buffer-field-list", ¤t_buffer->fieldlist, |
1582 make_number (Lisp_Cons), | 1582 Qnil, |
1583 "List of fields in the current buffer. See `add-field'."); | 1583 "List of fields in the current buffer. See `add-field'."); |
1584 | 1584 |
1585 DEFVAR_BOOL ("check-protected-fields", check_protected_fields, | 1585 DEFVAR_BOOL ("check-protected-fields", check_protected_fields, |
1586 "Non-nil means don't allow modification of a protected field.\n\ | 1586 "Non-nil means don't allow modification of a protected field.\n\ |
1587 See `add-field'."); | 1587 See `add-field'."); |
1619 "Function to call before changing a buffer which is unmodified.\n\ | 1619 "Function to call before changing a buffer which is unmodified.\n\ |
1620 The function is called, with no arguments, if it is non-nil."); | 1620 The function is called, with no arguments, if it is non-nil."); |
1621 Vfirst_change_function = Qnil; | 1621 Vfirst_change_function = Qnil; |
1622 | 1622 |
1623 DEFVAR_PER_BUFFER ("buffer-undo-list", ¤t_buffer->undo_list, | 1623 DEFVAR_PER_BUFFER ("buffer-undo-list", ¤t_buffer->undo_list, |
1624 make_number (Lisp_Cons), | 1624 Qnil, |
1625 "List of undo entries in current buffer.\n\ | 1625 "List of undo entries in current buffer.\n\ |
1626 Recent changes come first; older changes follow newer.\n\ | 1626 Recent changes come first; older changes follow newer.\n\ |
1627 \n\ | 1627 \n\ |
1628 An entry (START . END) represents an insertion which begins at\n\ | 1628 An entry (START . END) represents an insertion which begins at\n\ |
1629 position START and ends at position END.\n\ | 1629 position START and ends at position END.\n\ |