Mercurial > emacs
comparison src/buffer.c @ 97285:6c695773401d
* buffer.c (syms_of_buffer) <scroll-up-aggressively>:
<scroll-down-aggressively, before-change-functions>:
<after-change-functions>: Reflow docstrings.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Tue, 05 Aug 2008 15:04:03 +0000 |
parents | c3512b2085a0 |
children | ec7f95140247 |
comparison
equal
deleted
inserted
replaced
97284:2f673abd5eb7 | 97285:6c695773401d |
---|---|
5821 all the rest of the line invisible; also, when saving the buffer | 5821 all the rest of the line invisible; also, when saving the buffer |
5822 in a file, save the ^M as a newline. */); | 5822 in a file, save the ^M as a newline. */); |
5823 | 5823 |
5824 #ifndef old | 5824 #ifndef old |
5825 DEFVAR_PER_BUFFER ("selective-display-ellipses", | 5825 DEFVAR_PER_BUFFER ("selective-display-ellipses", |
5826 ¤t_buffer->selective_display_ellipses, | 5826 ¤t_buffer->selective_display_ellipses, |
5827 Qnil, | 5827 Qnil, |
5828 doc: /* Non-nil means display ... on previous line when a line is invisible. */); | 5828 doc: /* Non-nil means display ... on previous line when a line is invisible. */); |
5829 #endif | 5829 #endif |
5830 | 5830 |
5831 DEFVAR_PER_BUFFER ("overwrite-mode", ¤t_buffer->overwrite_mode, Qnil, | 5831 DEFVAR_PER_BUFFER ("overwrite-mode", ¤t_buffer->overwrite_mode, Qnil, |
5986 doc: /* How far to scroll windows upward. | 5986 doc: /* How far to scroll windows upward. |
5987 If you move point off the bottom, the window scrolls automatically. | 5987 If you move point off the bottom, the window scrolls automatically. |
5988 This variable controls how far it scrolls. The value nil, the default, | 5988 This variable controls how far it scrolls. The value nil, the default, |
5989 means scroll to center point. A fraction means scroll to put point | 5989 means scroll to center point. A fraction means scroll to put point |
5990 that fraction of the window's height from the bottom of the window. | 5990 that fraction of the window's height from the bottom of the window. |
5991 When the value is 0.0, point goes at the bottom line, which in the simple | 5991 When the value is 0.0, point goes at the bottom line, which in the |
5992 case that you moved off with C-f means scrolling just one line. 1.0 means | 5992 simple case that you moved off with C-f means scrolling just one line. |
5993 point goes at the top, so that in that simple case, the window | 5993 1.0 means point goes at the top, so that in that simple case, the |
5994 scrolls by a full window height. Meaningful values are | 5994 window scrolls by a full window height. Meaningful values are |
5995 between 0.0 and 1.0, inclusive. */); | 5995 between 0.0 and 1.0, inclusive. */); |
5996 | 5996 |
5997 DEFVAR_PER_BUFFER ("scroll-down-aggressively", | 5997 DEFVAR_PER_BUFFER ("scroll-down-aggressively", |
5998 ¤t_buffer->scroll_down_aggressively, Qnil, | 5998 ¤t_buffer->scroll_down_aggressively, Qnil, |
5999 doc: /* How far to scroll windows downward. | 5999 doc: /* How far to scroll windows downward. |
6000 If you move point off the top, the window scrolls automatically. | 6000 If you move point off the top, the window scrolls automatically. |
6001 This variable controls how far it scrolls. The value nil, the default, | 6001 This variable controls how far it scrolls. The value nil, the default, |
6002 means scroll to center point. A fraction means scroll to put point | 6002 means scroll to center point. A fraction means scroll to put point |
6003 that fraction of the window's height from the top of the window. | 6003 that fraction of the window's height from the top of the window. |
6004 When the value is 0.0, point goes at the top line, which in the simple | 6004 When the value is 0.0, point goes at the top line, which in the |
6005 case that you moved off with C-b means scrolling just one line. 1.0 means | 6005 simple case that you moved off with C-b means scrolling just one line. |
6006 point goes at the bottom, so that in that simple case, the window | 6006 1.0 means point goes at the bottom, so that in that simple case, the |
6007 scrolls by a full window height. Meaningful values are | 6007 window scrolls by a full window height. Meaningful values are |
6008 between 0.0 and 1.0, inclusive. */); | 6008 between 0.0 and 1.0, inclusive. */); |
6009 | 6009 |
6010 /*DEFVAR_LISP ("debug-check-symbol", &Vcheck_symbol, | 6010 /*DEFVAR_LISP ("debug-check-symbol", &Vcheck_symbol, |
6011 "Don't ask."); | 6011 "Don't ask."); |
6012 */ | 6012 */ |
6019 No information is given about the length of the text after the change. | 6019 No information is given about the length of the text after the change. |
6020 | 6020 |
6021 Buffer changes made while executing the `before-change-functions' | 6021 Buffer changes made while executing the `before-change-functions' |
6022 don't call any before-change or after-change functions. | 6022 don't call any before-change or after-change functions. |
6023 That's because these variables are temporarily set to nil. | 6023 That's because these variables are temporarily set to nil. |
6024 As a result, a hook function cannot straightforwardly alter the value of | 6024 As a result, a hook function cannot straightforwardly alter the |
6025 these variables. See the Emacs Lisp manual for a way of | 6025 value of these variables. See the Emacs Lisp manual for a way of |
6026 accomplishing an equivalent result by using other variables. | 6026 accomplishing an equivalent result by using other variables. |
6027 | 6027 |
6028 If an unhandled error happens in running these functions, | 6028 If an unhandled error happens in running these functions, |
6029 the variable's value remains nil. That prevents the error | 6029 the variable's value remains nil. That prevents the error |
6030 from happening repeatedly and making Emacs nonfunctional. */); | 6030 from happening repeatedly and making Emacs nonfunctional. */); |
6040 and the post-change beginning and end are at the same place.) | 6040 and the post-change beginning and end are at the same place.) |
6041 | 6041 |
6042 Buffer changes made while executing the `after-change-functions' | 6042 Buffer changes made while executing the `after-change-functions' |
6043 don't call any before-change or after-change functions. | 6043 don't call any before-change or after-change functions. |
6044 That's because these variables are temporarily set to nil. | 6044 That's because these variables are temporarily set to nil. |
6045 As a result, a hook function cannot straightforwardly alter the value of | 6045 As a result, a hook function cannot straightforwardly alter the |
6046 these variables. See the Emacs Lisp manual for a way of | 6046 value of these variables. See the Emacs Lisp manual for a way of |
6047 accomplishing an equivalent result by using other variables. | 6047 accomplishing an equivalent result by using other variables. |
6048 | 6048 |
6049 If an unhandled error happens in running these functions, | 6049 If an unhandled error happens in running these functions, |
6050 the variable's value remains nil. That prevents the error | 6050 the variable's value remains nil. That prevents the error |
6051 from happening repeatedly and making Emacs nonfunctional. */); | 6051 from happening repeatedly and making Emacs nonfunctional. */); |