]> git.eshelyaron.com Git - emacs.git/commit
Fix documentation of inhibit-modification-hooks in overlays + text properties
authorAlan Mackenzie <acm@muc.de>
Tue, 25 Jun 2019 08:52:38 +0000 (08:52 +0000)
committerAlan Mackenzie <acm@muc.de>
Tue, 25 Jun 2019 08:52:38 +0000 (08:52 +0000)
commit8c17995f7f948955c765562f32526d0a3b87398e
treefbbcb75a16984b9b917cd225b732d95b70a5c98c
parent093f5d0045cc5facd3728e385a71ef84f218bdfe
Fix documentation of inhibit-modification-hooks in overlays + text properties

This fixes bug #25111.

* doc/lispref/display.text (Overlay Properties): For the hook property
modification-hooks, state that inhibit-modification-hooks is bound to non-nil
when calling its functions.  This also applies to insert-in-front-hooks and
insert-behind-hooks, which refer to modification-hooks.

* doc/lispref/text.texi (Special Properties): For the hook property
modification-hooks, state that inhibit-modification-hooks is NOT bound to
non-nil when calling its functions.  For the hooks insert-in-fron-hooks and
insert-behind-hooks, state that that variable does get bound to non-nil.
doc/lispref/display.texi
doc/lispref/text.texi