diff options
Diffstat (limited to 'src/insdel.c')
| -rw-r--r-- | src/insdel.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/insdel.c b/src/insdel.c index 5dfc62843a7..02e3f41bc9f 100644 --- a/src/insdel.c +++ b/src/insdel.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Buffer insertion/deletion and gap motion for GNU Emacs. -*- coding: utf-8 -*- | 1 | /* Buffer insertion/deletion and gap motion for GNU Emacs. -*- coding: utf-8 -*- |
| 2 | Copyright (C) 1985-1986, 1993-1995, 1997-2017 Free Software | 2 | Copyright (C) 1985-1986, 1993-1995, 1997-2018 Free Software |
| 3 | Foundation, Inc. | 3 | Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| @@ -2342,7 +2342,10 @@ syms_of_insdel (void) | |||
| 2342 | DEFVAR_BOOL ("inhibit-modification-hooks", inhibit_modification_hooks, | 2342 | DEFVAR_BOOL ("inhibit-modification-hooks", inhibit_modification_hooks, |
| 2343 | doc: /* Non-nil means don't run any of the hooks that respond to buffer changes. | 2343 | doc: /* Non-nil means don't run any of the hooks that respond to buffer changes. |
| 2344 | This affects `before-change-functions' and `after-change-functions', | 2344 | This affects `before-change-functions' and `after-change-functions', |
| 2345 | as well as hooks attached to text properties and overlays. */); | 2345 | as well as hooks attached to text properties and overlays. |
| 2346 | Setting this variable non-nil also inhibits file locks and checks | ||
| 2347 | whether files are locked by another Emacs session, as well as | ||
| 2348 | handling of the active region per `select-active-regions'. */); | ||
| 2346 | inhibit_modification_hooks = 0; | 2349 | inhibit_modification_hooks = 0; |
| 2347 | DEFSYM (Qinhibit_modification_hooks, "inhibit-modification-hooks"); | 2350 | DEFSYM (Qinhibit_modification_hooks, "inhibit-modification-hooks"); |
| 2348 | 2351 | ||