aboutsummaryrefslogtreecommitdiffstats
path: root/src/insdel.c
diff options
context:
space:
mode:
authorEli Zaretskii2017-12-28 19:23:34 +0200
committerEli Zaretskii2017-12-28 19:23:34 +0200
commit81b1028b63b7d56a9483606fc7c656dd5cee28af (patch)
treeb1cd716c6fbfd6a748d0f10be8cc50439663dc6f /src/insdel.c
parent7175496d7a0e88c938898757f20c6882173eda9c (diff)
downloademacs-81b1028b63b7d56a9483606fc7c656dd5cee28af.tar.gz
emacs-81b1028b63b7d56a9483606fc7c656dd5cee28af.zip
Improve documentation of 'inhibit-modification-hooks' and friends
* src/buffer.c (Fset_buffer_modified_p) (Frestore_buffer_modified_p): Doc fixes. * src/insdel.c (syms_of_insdel) <inhibit-modification-hooks>: Document in the doc string that this variable also inhibits file locks and active region handling. (Bug#29846)
Diffstat (limited to 'src/insdel.c')
-rw-r--r--src/insdel.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/insdel.c b/src/insdel.c
index 5dfc62843a7..078f455eaaa 100644
--- a/src/insdel.c
+++ b/src/insdel.c
@@ -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.
2344This affects `before-change-functions' and `after-change-functions', 2344This affects `before-change-functions' and `after-change-functions',
2345as well as hooks attached to text properties and overlays. */); 2345as well as hooks attached to text properties and overlays.
2346Setting this variable non-nil also inhibits file locks and checks
2347whether files are locked by another Emacs session, as well as
2348handling 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