Mercurial > emacs
comparison src/buffer.c @ 74745:af518323048e
(syms_of_buffer) <buffer-display-table>, scroll-up-aggressively,
scroll-down-aggressively>: Doc fixes.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Tue, 19 Dec 2006 15:28:06 +0000 |
parents | 24338a0d4577 |
children | 3d45362f1d38 17e0dd217877 bc10a33dd40b |
comparison
equal
deleted
inserted
replaced
74744:253e064184f2 | 74745:af518323048e |
---|---|
5677 primitives `aref' and `aset' can be used to access elements of a char-table. | 5677 primitives `aref' and `aset' can be used to access elements of a char-table. |
5678 | 5678 |
5679 Each of the char-table elements control how to display the corresponding | 5679 Each of the char-table elements control how to display the corresponding |
5680 text character: the element at index C in the table says how to display | 5680 text character: the element at index C in the table says how to display |
5681 the character whose code is C. Each element should be a vector of | 5681 the character whose code is C. Each element should be a vector of |
5682 characters or nil. nil means display the character in the default fashion; | 5682 characters or nil. The value nil means display the character in the |
5683 otherwise, the characters from the vector are delivered to the screen | 5683 default fashion; otherwise, the characters from the vector are delivered |
5684 instead of the original character. | 5684 to the screen instead of the original character. |
5685 | 5685 |
5686 For example, (aset buffer-display-table ?X ?Y) will cause Emacs to display | 5686 For example, (aset buffer-display-table ?X ?Y) will cause Emacs to display |
5687 a capital Y instead of each X character. | 5687 a capital Y instead of each X character. |
5688 | 5688 |
5689 In addition, a char-table has six extra slots to control the display of: | 5689 In addition, a char-table has six extra slots to control the display of: |
5810 | 5810 |
5811 DEFVAR_PER_BUFFER ("scroll-up-aggressively", | 5811 DEFVAR_PER_BUFFER ("scroll-up-aggressively", |
5812 ¤t_buffer->scroll_up_aggressively, Qnil, | 5812 ¤t_buffer->scroll_up_aggressively, Qnil, |
5813 doc: /* How far to scroll windows upward. | 5813 doc: /* How far to scroll windows upward. |
5814 If you move point off the bottom, the window scrolls automatically. | 5814 If you move point off the bottom, the window scrolls automatically. |
5815 This variable controls how far it scrolls. nil, the default, | 5815 This variable controls how far it scrolls. The value nil, the default, |
5816 means scroll to center point. A fraction means scroll to put point | 5816 means scroll to center point. A fraction means scroll to put point |
5817 that fraction of the window's height from the bottom of the window. | 5817 that fraction of the window's height from the bottom of the window. |
5818 When the value is 0.0, point goes at the bottom line, which in the simple | 5818 When the value is 0.0, point goes at the bottom line, which in the simple |
5819 case that you moved off with C-f means scrolling just one line. 1.0 means | 5819 case that you moved off with C-f means scrolling just one line. 1.0 means |
5820 point goes at the top, so that in that simple case, the window | 5820 point goes at the top, so that in that simple case, the window |
5823 | 5823 |
5824 DEFVAR_PER_BUFFER ("scroll-down-aggressively", | 5824 DEFVAR_PER_BUFFER ("scroll-down-aggressively", |
5825 ¤t_buffer->scroll_down_aggressively, Qnil, | 5825 ¤t_buffer->scroll_down_aggressively, Qnil, |
5826 doc: /* How far to scroll windows downward. | 5826 doc: /* How far to scroll windows downward. |
5827 If you move point off the top, the window scrolls automatically. | 5827 If you move point off the top, the window scrolls automatically. |
5828 This variable controls how far it scrolls. nil, the default, | 5828 This variable controls how far it scrolls. The value nil, the default, |
5829 means scroll to center point. A fraction means scroll to put point | 5829 means scroll to center point. A fraction means scroll to put point |
5830 that fraction of the window's height from the top of the window. | 5830 that fraction of the window's height from the top of the window. |
5831 When the value is 0.0, point goes at the top line, which in the simple | 5831 When the value is 0.0, point goes at the top line, which in the simple |
5832 case that you moved off with C-b means scrolling just one line. 1.0 means | 5832 case that you moved off with C-b means scrolling just one line. 1.0 means |
5833 point goes at the bottom, so that in that simple case, the window | 5833 point goes at the bottom, so that in that simple case, the window |