diff options
| author | Richard M. Stallman | 1994-05-10 07:30:11 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-05-10 07:30:11 +0000 |
| commit | b86344d06faafbdd766bcbce6938e201d5eb9ecd (patch) | |
| tree | 533864f7dfbeba37113b5a2c7cce834390798ab2 | |
| parent | a1fd42c0c24a52df360d45252bd1e44253ae31b3 (diff) | |
| download | emacs-b86344d06faafbdd766bcbce6938e201d5eb9ecd.tar.gz emacs-b86344d06faafbdd766bcbce6938e201d5eb9ecd.zip | |
(Qbuffer_file_type): Var deleted.
(syms_of_buffer): Doc fix.
| -rw-r--r-- | src/buffer.c | 31 |
1 files changed, 21 insertions, 10 deletions
diff --git a/src/buffer.c b/src/buffer.c index c03263a5dab..fa7d74bb6c0 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -148,10 +148,6 @@ Lisp_Object Qinsert_behind_hooks; | |||
| 148 | /* For debugging; temporary. See set_buffer_internal. */ | 148 | /* For debugging; temporary. See set_buffer_internal. */ |
| 149 | /* Lisp_Object Qlisp_mode, Vcheck_symbol; */ | 149 | /* Lisp_Object Qlisp_mode, Vcheck_symbol; */ |
| 150 | 150 | ||
| 151 | #ifdef MSDOS | ||
| 152 | Lisp_Object Qbuffer_file_type; | ||
| 153 | #endif | ||
| 154 | |||
| 155 | nsberror (spec) | 151 | nsberror (spec) |
| 156 | Lisp_Object spec; | 152 | Lisp_Object spec; |
| 157 | { | 153 | { |
| @@ -2589,10 +2585,13 @@ Two arguments are passed to the function: the positions of\n\ | |||
| 2589 | the beginning and end of the range of old text to be changed.\n\ | 2585 | the beginning and end of the range of old text to be changed.\n\ |
| 2590 | \(For an insertion, the beginning and end are at the same place.)\n\ | 2586 | \(For an insertion, the beginning and end are at the same place.)\n\ |
| 2591 | No information is given about the length of the text after the change.\n\ | 2587 | No information is given about the length of the text after the change.\n\ |
| 2592 | position of the change\n\ | ||
| 2593 | \n\ | 2588 | \n\ |
| 2594 | Buffer changes made while executing the `before-change-function'\n\ | 2589 | Buffer changes made while executing the `before-change-function'\n\ |
| 2595 | don't call any before-change or after-change functions."); | 2590 | don't call any before-change or after-change functions.\n\ |
| 2591 | That's because these variables are temporarily set to nil.\n\ | ||
| 2592 | As a result, a hook function cannot straightforwardly alter the value of\n\ | ||
| 2593 | these variables. See the Emacs Lisp manual for a way of\n\ | ||
| 2594 | accomplishing an equivalent result by using other variables.") | ||
| 2596 | Vbefore_change_function = Qnil; | 2595 | Vbefore_change_function = Qnil; |
| 2597 | 2596 | ||
| 2598 | DEFVAR_LISP ("after-change-function", &Vafter_change_function, | 2597 | DEFVAR_LISP ("after-change-function", &Vafter_change_function, |
| @@ -2605,7 +2604,11 @@ for a deletion, that length is the number of characters deleted,\n\ | |||
| 2605 | and the post-change beginning and end are at the same place.)\n\ | 2604 | and the post-change beginning and end are at the same place.)\n\ |
| 2606 | \n\ | 2605 | \n\ |
| 2607 | Buffer changes made while executing the `after-change-function'\n\ | 2606 | Buffer changes made while executing the `after-change-function'\n\ |
| 2608 | don't call any before-change or after-change functions."); | 2607 | don't call any before-change or after-change functions.\n\ |
| 2608 | That's because these variables are temporarily set to nil.\n\ | ||
| 2609 | As a result, a hook function cannot straightforwardly alter the value of\n\ | ||
| 2610 | these variables. See the Emacs Lisp manual for a way of\n\ | ||
| 2611 | accomplishing an equivalent result by using other variables.") | ||
| 2609 | Vafter_change_function = Qnil; | 2612 | Vafter_change_function = Qnil; |
| 2610 | 2613 | ||
| 2611 | DEFVAR_LISP ("before-change-functions", &Vbefore_change_functions, | 2614 | DEFVAR_LISP ("before-change-functions", &Vbefore_change_functions, |
| @@ -2614,10 +2617,13 @@ Two arguments are passed to each function: the positions of\n\ | |||
| 2614 | the beginning and end of the range of old text to be changed.\n\ | 2617 | the beginning and end of the range of old text to be changed.\n\ |
| 2615 | \(For an insertion, the beginning and end are at the same place.)\n\ | 2618 | \(For an insertion, the beginning and end are at the same place.)\n\ |
| 2616 | No information is given about the length of the text after the change.\n\ | 2619 | No information is given about the length of the text after the change.\n\ |
| 2617 | position of the change\n\ | ||
| 2618 | \n\ | 2620 | \n\ |
| 2619 | Buffer changes made while executing the `before-change-functions'\n\ | 2621 | Buffer changes made while executing the `before-change-functions'\n\ |
| 2620 | don't call any before-change or after-change functions."); | 2622 | don't call any before-change or after-change functions.\n\ |
| 2623 | That's because these variables are temporarily set to nil.\n\ | ||
| 2624 | As a result, a hook function cannot straightforwardly alter the value of\n\ | ||
| 2625 | these variables. See the Emacs Lisp manual for a way of\n\ | ||
| 2626 | accomplishing an equivalent result by using other variables.") | ||
| 2621 | Vbefore_change_functions = Qnil; | 2627 | Vbefore_change_functions = Qnil; |
| 2622 | 2628 | ||
| 2623 | DEFVAR_LISP ("after-change-functions", &Vafter_change_functions, | 2629 | DEFVAR_LISP ("after-change-functions", &Vafter_change_functions, |
| @@ -2630,7 +2636,12 @@ for a deletion, that length is the number of characters deleted,\n\ | |||
| 2630 | and the post-change beginning and end are at the same place.)\n\ | 2636 | and the post-change beginning and end are at the same place.)\n\ |
| 2631 | \n\ | 2637 | \n\ |
| 2632 | Buffer changes made while executing the `after-change-functions'\n\ | 2638 | Buffer changes made while executing the `after-change-functions'\n\ |
| 2633 | don't call any before-change or after-change functions."); | 2639 | don't call any before-change or after-change functions.\n\ |
| 2640 | That's because these variables are temporarily set to nil.\n\ | ||
| 2641 | As a result, a hook function cannot straightforwardly alter the value of\n\ | ||
| 2642 | these variables. See the Emacs Lisp manual for a way of\n\ | ||
| 2643 | accomplishing an equivalent result by using other variables.") | ||
| 2644 | |||
| 2634 | Vafter_change_functions = Qnil; | 2645 | Vafter_change_functions = Qnil; |
| 2635 | 2646 | ||
| 2636 | DEFVAR_LISP ("first-change-hook", &Vfirst_change_hook, | 2647 | DEFVAR_LISP ("first-change-hook", &Vfirst_change_hook, |