Mercurial > emacs
comparison src/buffer.c @ 37011:f00c8e510bb1
(syms_of_buffer): Doc fix.
| author | Eli Zaretskii <eliz@gnu.org> |
|---|---|
| date | Mon, 26 Mar 2001 17:08:10 +0000 |
| parents | c2640df9b55b |
| children | 7db9a70334b7 |
comparison
equal
deleted
inserted
replaced
| 37010:0c985ba42c84 | 37011:f00c8e510bb1 |
|---|---|
| 5270 but make-docfile can find it in this comment. */ | 5270 but make-docfile can find it in this comment. */ |
| 5271 DEFVAR_PER_BUFFER ("buffer-display-table", ¤t_buffer->display_table, | 5271 DEFVAR_PER_BUFFER ("buffer-display-table", ¤t_buffer->display_table, |
| 5272 Qnil, | 5272 Qnil, |
| 5273 "Display table that controls display of the contents of current buffer.\n\ | 5273 "Display table that controls display of the contents of current buffer.\n\ |
| 5274 Automatically becomes buffer-local when set in any fashion.\n\ | 5274 Automatically becomes buffer-local when set in any fashion.\n\ |
| 5275 \n\ | |
| 5276 If this variable is nil, the value of `standard-display-table' is used.\n\ | |
| 5277 Each window can have its own, overriding display table, see\n\ | |
| 5278 `set-window-display-table' and `window-display-table'. | |
| 5279 \n\ | |
| 5275 The display table is a char-table created with `make-display-table'.\n\ | 5280 The display table is a char-table created with `make-display-table'.\n\ |
| 5276 The ordinary char-table elements control how to display each possible text\n\ | 5281 A char-table is an array indexed by character codes. Normal array\n\ |
| 5277 character. Each value should be a vector of characters or nil;\n\ | 5282 primitives `aref' and `aset' can be used to access elements of a char-table.\n\ |
| 5278 nil means display the character in the default fashion.\n\ | 5283 \n\ |
| 5279 There are six extra slots to control the display of\n\ | 5284 Each of the char-table elements control how to display the corresponding\n\ |
| 5285 text character: the element at index C in the table says how to display\n\ | |
| 5286 the character whose code is C. Each element should be a vector of\n\ | |
| 5287 characters or nil. nil means display the character in the default fashion;\n\ | |
| 5288 otherwise, the characters from the vector are delivered to the screen\n\ | |
| 5289 instead of the original character.\n\ | |
| 5290 \n\ | |
| 5291 For example, (aset buffer-display-table ?X ?Y) will cause Emacs to display\n\ | |
| 5292 a capital Y instead of each X character.\n\ | |
| 5293 \n\ | |
| 5294 In addition, a char-table has six extra slots to control the display of:\n\ | |
| 5295 \n\ | |
| 5280 the end of a truncated screen line (extra-slot 0, a single character);\n\ | 5296 the end of a truncated screen line (extra-slot 0, a single character);\n\ |
| 5281 the end of a continued line (extra-slot 1, a single character);\n\ | 5297 the end of a continued line (extra-slot 1, a single character);\n\ |
| 5282 the escape character used to display character codes in octal\n\ | 5298 the escape character used to display character codes in octal\n\ |
| 5283 (extra-slot 2, a single character);\n\ | 5299 (extra-slot 2, a single character);\n\ |
| 5284 the character used as an arrow for control characters (extra-slot 3,\n\ | 5300 the character used as an arrow for control characters (extra-slot 3,\n\ |
| 5285 a single character);\n\ | 5301 a single character);\n\ |
| 5286 the decoration indicating the presence of invisible lines (extra-slot 4,\n\ | 5302 the decoration indicating the presence of invisible lines (extra-slot 4,\n\ |
| 5287 a vector of characters);\n\ | 5303 a vector of characters);\n\ |
| 5288 the character used to draw the border between side-by-side windows\n\ | 5304 the character used to draw the border between side-by-side windows\n\ |
| 5289 (extra-slot 5, a single character).\n\ | 5305 (extra-slot 5, a single character).\n\ |
| 5290 See also the functions `display-table-slot' and `set-display-table-slot'.\n\ | 5306 \n\ |
| 5291 If this variable is nil, the value of `standard-display-table' is used.\n\ | 5307 See also the functions `display-table-slot' and `set-display-table-slot'."); |
| 5292 Each window can have its own, overriding display table."); | |
| 5293 #endif | 5308 #endif |
| 5294 DEFVAR_PER_BUFFER ("buffer-display-table", ¤t_buffer->display_table, | 5309 DEFVAR_PER_BUFFER ("buffer-display-table", ¤t_buffer->display_table, |
| 5295 Qnil, 0); | 5310 Qnil, 0); |
| 5296 | 5311 |
| 5297 DEFVAR_PER_BUFFER ("left-margin-width", ¤t_buffer->left_margin_width, | 5312 DEFVAR_PER_BUFFER ("left-margin-width", ¤t_buffer->left_margin_width, |
