aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c10
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\
3813Two arguments are passed to the function: the positions of\n\ 3813Two arguments are passed to the function: the positions of\n\
3814the beginning and end of the range of old text to be changed.\n\ 3814the 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\
3820That's because these variables are temporarily set to nil.\n\ 3820That's because these variables are temporarily set to nil.\n\
3821As a result, a hook function cannot straightforwardly alter the value of\n\ 3821As a result, a hook function cannot straightforwardly alter the value of\n\
3822these variables. See the Emacs Lisp manual for a way of\n\ 3822these variables. See the Emacs Lisp manual for a way of\n\
3823accomplishing an equivalent result by using other variables."); 3823accomplishing an equivalent result by using other variables.\n\n\
3824This 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\
3828Three arguments are passed to the function: the positions of\n\ 3829Three arguments are passed to the function: the positions of\n\
3829the beginning and end of the range of changed text,\n\ 3830the beginning and end of the range of changed text,\n\
3830and the length of the pre-change text replaced by that range.\n\ 3831and 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\
3837That's because these variables are temporarily set to nil.\n\ 3838That's because these variables are temporarily set to nil.\n\
3838As a result, a hook function cannot straightforwardly alter the value of\n\ 3839As a result, a hook function cannot straightforwardly alter the value of\n\
3839these variables. See the Emacs Lisp manual for a way of\n\ 3840these variables. See the Emacs Lisp manual for a way of\n\
3840accomplishing an equivalent result by using other variables."); 3841accomplishing an equivalent result by using other variables.\n\n\
3842This 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,