diff options
| author | Dave Love | 2000-06-02 12:43:31 +0000 |
|---|---|---|
| committer | Dave Love | 2000-06-02 12:43:31 +0000 |
| commit | 98067d54ca707d11f66a0d6d6217069cadb91920 (patch) | |
| tree | a790678e8ae2868d21b5836d550292813d5d3891 /src/buffer.c | |
| parent | 1675d08629e0b5098d8062e0c369a82954c0ba17 (diff) | |
| download | emacs-98067d54ca707d11f66a0d6d6217069cadb91920.tar.gz emacs-98067d54ca707d11f66a0d6d6217069cadb91920.zip | |
(Vbefore_change_function, Vafter_change_function):
Variables and their initializations deleted.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/buffer.c b/src/buffer.c index 9587ec7d77c..cc376c96238 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -131,8 +131,6 @@ static void reset_buffer_local_variables (); | |||
| 131 | Lisp_Object Vbuffer_alist; | 131 | Lisp_Object Vbuffer_alist; |
| 132 | 132 | ||
| 133 | /* Functions to call before and after each text change. */ | 133 | /* Functions to call before and after each text change. */ |
| 134 | Lisp_Object Vbefore_change_function; | ||
| 135 | Lisp_Object Vafter_change_function; | ||
| 136 | Lisp_Object Vbefore_change_functions; | 134 | Lisp_Object Vbefore_change_functions; |
| 137 | Lisp_Object Vafter_change_functions; | 135 | Lisp_Object Vafter_change_functions; |
| 138 | 136 | ||
| @@ -4709,39 +4707,6 @@ Automatically becomes buffer-local when set in any fashion."); | |||
| 4709 | /*DEFVAR_LISP ("debug-check-symbol", &Vcheck_symbol, | 4707 | /*DEFVAR_LISP ("debug-check-symbol", &Vcheck_symbol, |
| 4710 | "Don't ask."); | 4708 | "Don't ask."); |
| 4711 | */ | 4709 | */ |
| 4712 | DEFVAR_LISP ("before-change-function", &Vbefore_change_function, | ||
| 4713 | "If non-nil, a function to call before each text change (obsolete).\n\ | ||
| 4714 | Two arguments are passed to the function: the positions of\n\ | ||
| 4715 | the beginning and end of the range of old text to be changed.\n\ | ||
| 4716 | \(For an insertion, the beginning and end are at the same place.)\n\ | ||
| 4717 | No information is given about the length of the text after the change.\n\ | ||
| 4718 | \n\ | ||
| 4719 | Buffer changes made while executing the `before-change-function'\n\ | ||
| 4720 | don't call any before-change or after-change functions.\n\ | ||
| 4721 | That's because these variables are temporarily set to nil.\n\ | ||
| 4722 | As a result, a hook function cannot straightforwardly alter the value of\n\ | ||
| 4723 | these variables. See the Emacs Lisp manual for a way of\n\ | ||
| 4724 | accomplishing an equivalent result by using other variables.\n\n\ | ||
| 4725 | This variable is obsolete; use `before-change-functions' instead."); | ||
| 4726 | Vbefore_change_function = Qnil; | ||
| 4727 | |||
| 4728 | DEFVAR_LISP ("after-change-function", &Vafter_change_function, | ||
| 4729 | "If non-nil, a Function to call after each text change (obsolete).\n\ | ||
| 4730 | Three arguments are passed to the function: the positions of\n\ | ||
| 4731 | the beginning and end of the range of changed text,\n\ | ||
| 4732 | and the length of the pre-change text replaced by that range.\n\ | ||
| 4733 | \(For an insertion, the pre-change length is zero;\n\ | ||
| 4734 | for a deletion, that length is the number of bytes deleted,\n\ | ||
| 4735 | and the post-change beginning and end are at the same place.)\n\ | ||
| 4736 | \n\ | ||
| 4737 | Buffer changes made while executing the `after-change-function'\n\ | ||
| 4738 | don't call any before-change or after-change functions.\n\ | ||
| 4739 | That's because these variables are temporarily set to nil.\n\ | ||
| 4740 | As a result, a hook function cannot straightforwardly alter the value of\n\ | ||
| 4741 | these variables. See the Emacs Lisp manual for a way of\n\ | ||
| 4742 | accomplishing an equivalent result by using other variables.\n\n\ | ||
| 4743 | This variable is obsolete; use `after-change-functions' instead."); | ||
| 4744 | Vafter_change_function = Qnil; | ||
| 4745 | 4710 | ||
| 4746 | DEFVAR_LISP ("before-change-functions", &Vbefore_change_functions, | 4711 | DEFVAR_LISP ("before-change-functions", &Vbefore_change_functions, |
| 4747 | "List of functions to call before each text change.\n\ | 4712 | "List of functions to call before each text change.\n\ |