diff options
| author | Eli Zaretskii | 2001-03-26 17:09:00 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2001-03-26 17:09:00 +0000 |
| commit | 9948db79ddd9eaa693443a63c956074d3da72256 (patch) | |
| tree | 5985669f872f8d5d0029092fb1281c006df8834b /src/buffer.c | |
| parent | 3fa0c5052be821b2897e4c2fbef0cf45dbd9d705 (diff) | |
| download | emacs-9948db79ddd9eaa693443a63c956074d3da72256.tar.gz emacs-9948db79ddd9eaa693443a63c956074d3da72256.zip | |
(syms_of_buffer): Doc fix.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 29 |
1 files changed, 22 insertions, 7 deletions
diff --git a/src/buffer.c b/src/buffer.c index 0dd65bf7f67..a8240bafcc9 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -5272,11 +5272,27 @@ Automatically becomes buffer-local when set in any fashion."); | |||
| 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\ |
| @@ -5287,9 +5303,8 @@ There are six extra slots to control the display of\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); |