diff options
| author | Richard M. Stallman | 1996-09-09 22:36:48 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-09-09 22:36:48 +0000 |
| commit | f0724bcbff275cae32ad7c6c9edbbe5c06508d36 (patch) | |
| tree | fab3f1095107285902c19c545af61fa4fc6891ad /src/buffer.c | |
| parent | 76aa9e79b996d94de930deb0fe7c7443a70c1a1f (diff) | |
| download | emacs-f0724bcbff275cae32ad7c6c9edbbe5c06508d36.tar.gz emacs-f0724bcbff275cae32ad7c6c9edbbe5c06508d36.zip | |
(syms_of_buffer): Doc fixes.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/buffer.c b/src/buffer.c index 32a610df6b5..1d6b121a1fa 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -3809,7 +3809,7 @@ Each window can have its own, overriding display table."); | |||
| 3809 | "Don't ask."); | 3809 | "Don't ask."); |
| 3810 | */ | 3810 | */ |
| 3811 | DEFVAR_LISP ("before-change-function", &Vbefore_change_function, | 3811 | DEFVAR_LISP ("before-change-function", &Vbefore_change_function, |
| 3812 | "Function to call before each text change.\n\ | 3812 | "If non-nil, a function to call before each text change (obsolete).\n\ |
| 3813 | Two arguments are passed to the function: the positions of\n\ | 3813 | Two arguments are passed to the function: the positions of\n\ |
| 3814 | the beginning and end of the range of old text to be changed.\n\ | 3814 | the beginning and end of the range of old text to be changed.\n\ |
| 3815 | \(For an insertion, the beginning and end are at the same place.)\n\ | 3815 | \(For an insertion, the beginning and end are at the same place.)\n\ |
| @@ -3820,11 +3820,12 @@ don't call any before-change or after-change functions.\n\ | |||
| 3820 | That's because these variables are temporarily set to nil.\n\ | 3820 | That's because these variables are temporarily set to nil.\n\ |
| 3821 | As a result, a hook function cannot straightforwardly alter the value of\n\ | 3821 | As a result, a hook function cannot straightforwardly alter the value of\n\ |
| 3822 | these variables. See the Emacs Lisp manual for a way of\n\ | 3822 | these variables. See the Emacs Lisp manual for a way of\n\ |
| 3823 | accomplishing an equivalent result by using other variables."); | 3823 | accomplishing an equivalent result by using other variables.\n\n\ |
| 3824 | This variable is obsolete; use `before-change-functions' instead."); | ||
| 3824 | Vbefore_change_function = Qnil; | 3825 | Vbefore_change_function = Qnil; |
| 3825 | 3826 | ||
| 3826 | DEFVAR_LISP ("after-change-function", &Vafter_change_function, | 3827 | DEFVAR_LISP ("after-change-function", &Vafter_change_function, |
| 3827 | "Function to call after each text change.\n\ | 3828 | "If non-nil, a Function to call after each text change (obsolete).\n\ |
| 3828 | Three arguments are passed to the function: the positions of\n\ | 3829 | Three arguments are passed to the function: the positions of\n\ |
| 3829 | the beginning and end of the range of changed text,\n\ | 3830 | the beginning and end of the range of changed text,\n\ |
| 3830 | and the length of the pre-change text replaced by that range.\n\ | 3831 | and the length of the pre-change text replaced by that range.\n\ |
| @@ -3837,7 +3838,8 @@ don't call any before-change or after-change functions.\n\ | |||
| 3837 | That's because these variables are temporarily set to nil.\n\ | 3838 | That's because these variables are temporarily set to nil.\n\ |
| 3838 | As a result, a hook function cannot straightforwardly alter the value of\n\ | 3839 | As a result, a hook function cannot straightforwardly alter the value of\n\ |
| 3839 | these variables. See the Emacs Lisp manual for a way of\n\ | 3840 | these variables. See the Emacs Lisp manual for a way of\n\ |
| 3840 | accomplishing an equivalent result by using other variables."); | 3841 | accomplishing an equivalent result by using other variables.\n\n\ |
| 3842 | This variable is obsolete; use `after-change-functions' instead."); | ||
| 3841 | Vafter_change_function = Qnil; | 3843 | Vafter_change_function = Qnil; |
| 3842 | 3844 | ||
| 3843 | DEFVAR_LISP ("before-change-functions", &Vbefore_change_functions, | 3845 | DEFVAR_LISP ("before-change-functions", &Vbefore_change_functions, |