comparison src/buffer.c @ 23760:63e98b81cc29

(syms_of_buffer): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Tue, 24 Nov 1998 09:01:32 +0000
parents e80c5f687340
children 6ea9058180ec
comparison
equal deleted inserted replaced
23759:eac4b475c2ea 23760:63e98b81cc29
4402 Buffer changes made while executing the `before-change-functions'\n\ 4402 Buffer changes made while executing the `before-change-functions'\n\
4403 don't call any before-change or after-change functions.\n\ 4403 don't call any before-change or after-change functions.\n\
4404 That's because these variables are temporarily set to nil.\n\ 4404 That's because these variables are temporarily set to nil.\n\
4405 As a result, a hook function cannot straightforwardly alter the value of\n\ 4405 As a result, a hook function cannot straightforwardly alter the value of\n\
4406 these variables. See the Emacs Lisp manual for a way of\n\ 4406 these variables. See the Emacs Lisp manual for a way of\n\
4407 accomplishing an equivalent result by using other variables."); 4407 accomplishing an equivalent result by using other variables.\n\
4408 \n\
4409 If an unhandled error happens in running these functions,\n\
4410 the variable's value remains nil. That prevents the error\n\
4411 from happening repeatedly and making Emacs nonfunctional.");
4408 Vbefore_change_functions = Qnil; 4412 Vbefore_change_functions = Qnil;
4409 4413
4410 DEFVAR_LISP ("after-change-functions", &Vafter_change_functions, 4414 DEFVAR_LISP ("after-change-functions", &Vafter_change_functions,
4411 "List of function to call after each text change.\n\ 4415 "List of function to call after each text change.\n\
4412 Three arguments are passed to each function: the positions of\n\ 4416 Three arguments are passed to each function: the positions of\n\
4419 Buffer changes made while executing the `after-change-functions'\n\ 4423 Buffer changes made while executing the `after-change-functions'\n\
4420 don't call any before-change or after-change functions.\n\ 4424 don't call any before-change or after-change functions.\n\
4421 That's because these variables are temporarily set to nil.\n\ 4425 That's because these variables are temporarily set to nil.\n\
4422 As a result, a hook function cannot straightforwardly alter the value of\n\ 4426 As a result, a hook function cannot straightforwardly alter the value of\n\
4423 these variables. See the Emacs Lisp manual for a way of\n\ 4427 these variables. See the Emacs Lisp manual for a way of\n\
4424 accomplishing an equivalent result by using other variables."); 4428 accomplishing an equivalent result by using other variables.\n\
4425 4429 \n\
4430 If an unhandled error happens in running these functions,\n\
4431 the variable's value remains nil. That prevents the error\n\
4432 from happening repeatedly and making Emacs nonfunctional.");
4426 Vafter_change_functions = Qnil; 4433 Vafter_change_functions = Qnil;
4427 4434
4428 DEFVAR_LISP ("first-change-hook", &Vfirst_change_hook, 4435 DEFVAR_LISP ("first-change-hook", &Vfirst_change_hook,
4429 "A list of functions to call before changing a buffer which is unmodified.\n\ 4436 "A list of functions to call before changing a buffer which is unmodified.\n\
4430 The functions are run using the `run-hooks' function."); 4437 The functions are run using the `run-hooks' function.");