# HG changeset patch # User Richard M. Stallman # Date 768555011 0 # Node ID 7b5d67590d57869b9bf6eb69379d964ea07e3a17 # Parent cc5e8709ab895ee077d1016e18a8c074c2a3a07b (Qbuffer_file_type): Var deleted. (syms_of_buffer): Doc fix. diff -r cc5e8709ab89 -r 7b5d67590d57 src/buffer.c --- a/src/buffer.c Tue May 10 07:24:27 1994 +0000 +++ b/src/buffer.c Tue May 10 07:30:11 1994 +0000 @@ -148,10 +148,6 @@ /* For debugging; temporary. See set_buffer_internal. */ /* Lisp_Object Qlisp_mode, Vcheck_symbol; */ -#ifdef MSDOS -Lisp_Object Qbuffer_file_type; -#endif - nsberror (spec) Lisp_Object spec; { @@ -2589,10 +2585,13 @@ the beginning and end of the range of old text to be changed.\n\ \(For an insertion, the beginning and end are at the same place.)\n\ No information is given about the length of the text after the change.\n\ -position of the change\n\ \n\ Buffer changes made while executing the `before-change-function'\n\ -don't call any before-change or after-change functions."); +don't call any before-change or after-change functions.\n\ +That's because these variables are temporarily set to nil.\n\ +As a result, a hook function cannot straightforwardly alter the value of\n\ +these variables. See the Emacs Lisp manual for a way of\n\ +accomplishing an equivalent result by using other variables.") Vbefore_change_function = Qnil; DEFVAR_LISP ("after-change-function", &Vafter_change_function, @@ -2605,7 +2604,11 @@ and the post-change beginning and end are at the same place.)\n\ \n\ Buffer changes made while executing the `after-change-function'\n\ -don't call any before-change or after-change functions."); +don't call any before-change or after-change functions.\n\ +That's because these variables are temporarily set to nil.\n\ +As a result, a hook function cannot straightforwardly alter the value of\n\ +these variables. See the Emacs Lisp manual for a way of\n\ +accomplishing an equivalent result by using other variables.") Vafter_change_function = Qnil; DEFVAR_LISP ("before-change-functions", &Vbefore_change_functions, @@ -2614,10 +2617,13 @@ the beginning and end of the range of old text to be changed.\n\ \(For an insertion, the beginning and end are at the same place.)\n\ No information is given about the length of the text after the change.\n\ -position of the change\n\ \n\ Buffer changes made while executing the `before-change-functions'\n\ -don't call any before-change or after-change functions."); +don't call any before-change or after-change functions.\n\ +That's because these variables are temporarily set to nil.\n\ +As a result, a hook function cannot straightforwardly alter the value of\n\ +these variables. See the Emacs Lisp manual for a way of\n\ +accomplishing an equivalent result by using other variables.") Vbefore_change_functions = Qnil; DEFVAR_LISP ("after-change-functions", &Vafter_change_functions, @@ -2630,7 +2636,12 @@ and the post-change beginning and end are at the same place.)\n\ \n\ Buffer changes made while executing the `after-change-functions'\n\ -don't call any before-change or after-change functions."); +don't call any before-change or after-change functions.\n\ +That's because these variables are temporarily set to nil.\n\ +As a result, a hook function cannot straightforwardly alter the value of\n\ +these variables. See the Emacs Lisp manual for a way of\n\ +accomplishing an equivalent result by using other variables.") + Vafter_change_functions = Qnil; DEFVAR_LISP ("first-change-hook", &Vfirst_change_hook,