]> git.eshelyaron.com Git - emacs.git/commit
org.el: Improve bindings of `inhibit-*` vars
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 7 Oct 2022 16:29:56 +0000 (12:29 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 7 Oct 2022 16:29:56 +0000 (12:29 -0400)
commitf3769bc32a3d32377a83b33d416205f80814e422
tree5e7c9ec2ad43ab268d9f18cd8d74d6bc8a1ee1ec
parent4840b91e41329cd1221e6224142af9ae13fd7606
org.el: Improve bindings of `inhibit-*` vars

Remove binding of `inhibit-point-motion-hooks` (it's t by default
anyway and it's obsolete) and don't "manually" bind
`inhibit-modification-hooks`.

* lisp/org/org.el (org-unfontify-region): Use `with-silent-modifications`.
(org-display-inline-remove-overlay): Remove ineffective binding of
`inhibit-modification-hooks` around code which doesn't modify the
buffer anyway.
lisp/org/org.el