diff options
author | Eli Zaretskii <eliz@gnu.org> | 2017-12-28 19:23:34 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2017-12-28 19:23:34 +0200 |
commit | 81b1028b63b7d56a9483606fc7c656dd5cee28af (patch) | |
tree | b1cd716c6fbfd6a748d0f10be8cc50439663dc6f /src/insdel.c | |
parent | 7175496d7a0e88c938898757f20c6882173eda9c (diff) | |
download | emacs-81b1028b63b7d56a9483606fc7c656dd5cee28af.tar.gz emacs-81b1028b63b7d56a9483606fc7c656dd5cee28af.tar.bz2 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.c | 5 |
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) DEFVAR_BOOL ("inhibit-modification-hooks", inhibit_modification_hooks, doc: /* Non-nil means don't run any of the hooks that respond to buffer changes. This affects `before-change-functions' and `after-change-functions', -as well as hooks attached to text properties and overlays. */); +as well as hooks attached to text properties and overlays. +Setting this variable non-nil also inhibits file locks and checks +whether files are locked by another Emacs session, as well as +handling of the active region per `select-active-regions'. */); inhibit_modification_hooks = 0; DEFSYM (Qinhibit_modification_hooks, "inhibit-modification-hooks"); |