diff options
| author | Richard M. Stallman | 1999-09-07 03:25:35 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1999-09-07 03:25:35 +0000 |
| commit | 7baf49cf5e936ccbc63dd1ebcd223f27cf6aae41 (patch) | |
| tree | dcfb5c072cd877a9318c03ffab82df34a460eeb7 /src/insdel.c | |
| parent | c4ea52a64fc91467e6952d6dc32962b7ca7f940b (diff) | |
| download | emacs-7baf49cf5e936ccbc63dd1ebcd223f27cf6aae41.tar.gz emacs-7baf49cf5e936ccbc63dd1ebcd223f27cf6aae41.zip | |
(syms_of_insdel): Define Lisp variable inhibit-modification-hooks.
Diffstat (limited to 'src/insdel.c')
| -rw-r--r-- | src/insdel.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/insdel.c b/src/insdel.c index 738d55909ed..72437face1e 100644 --- a/src/insdel.c +++ b/src/insdel.c | |||
| @@ -2727,5 +2727,11 @@ syms_of_insdel () | |||
| 2727 | "Used internally by the `combine-after-change-calls' macro."); | 2727 | "Used internally by the `combine-after-change-calls' macro."); |
| 2728 | Vcombine_after_change_calls = Qnil; | 2728 | Vcombine_after_change_calls = Qnil; |
| 2729 | 2729 | ||
| 2730 | DEFVAR_BOOL ("inhibit-modification-hooks", &inhibit_modification_hooks, | ||
| 2731 | "Non-nil means don't run any of the hooks that respond to buffer changes.\n\ | ||
| 2732 | This affects `before-change-functions' and `after-change-functions',\n\ | ||
| 2733 | as well as hooks attached to text properties and overlays."); | ||
| 2734 | inhibit_modification_hooks = 0; | ||
| 2735 | |||
| 2730 | defsubr (&Scombine_after_change_execute); | 2736 | defsubr (&Scombine_after_change_execute); |
| 2731 | } | 2737 | } |